test/jdk/jdk/jfr/api/flightrecorder/TestRecorderInitializationCallback.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    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