equal
deleted
inserted
replaced
30 import java.util.concurrent.atomic.AtomicInteger; |
30 import java.util.concurrent.atomic.AtomicInteger; |
31 |
31 |
32 import jdk.jfr.FlightRecorder; |
32 import jdk.jfr.FlightRecorder; |
33 import jdk.jfr.FlightRecorderListener; |
33 import jdk.jfr.FlightRecorderListener; |
34 |
34 |
35 /* |
35 /** |
36 * @test |
36 * @test |
37 * @summary Test Flight Recorder initialization callback is only called once |
37 * @summary Test Flight Recorder initialization callback is only called once |
38 * @key jfr |
38 * @key jfr |
|
39 * @requires vm.hasJFR |
39 * @library /test/lib |
40 * @library /test/lib |
40 * @run main/othervm jdk.jfr.api.flightrecorder.TestRecorderInitializationCallback |
41 * @run main/othervm jdk.jfr.api.flightrecorder.TestRecorderInitializationCallback |
41 */ |
42 */ |
42 public class TestRecorderInitializationCallback { |
43 public class TestRecorderInitializationCallback { |
43 |
44 |