test/jdk/jdk/jfr/event/runtime/TestSafepointEvents.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
child 52672 bbfa1b3aaf7e
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    36 import jdk.test.lib.Asserts;
    36 import jdk.test.lib.Asserts;
    37 import jdk.test.lib.jfr.EventNames;
    37 import jdk.test.lib.jfr.EventNames;
    38 import jdk.test.lib.jfr.Events;
    38 import jdk.test.lib.jfr.Events;
    39 import sun.hotspot.WhiteBox;
    39 import sun.hotspot.WhiteBox;
    40 
    40 
    41 /*
    41 /**
    42  * @test TestSafepointEvents
    42  * @test TestSafepointEvents
    43  * @key jfr
    43  * @key jfr
       
    44  * @requires vm.hasJFR
    44  * @library /test/lib
    45  * @library /test/lib
    45  * @build sun.hotspot.WhiteBox
    46  * @build sun.hotspot.WhiteBox
    46  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    47  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    47  *     sun.hotspot.WhiteBox$WhiteBoxPermission
    48  *     sun.hotspot.WhiteBox$WhiteBoxPermission
    48  * @run main/othervm -Xbootclasspath/a:.
    49  * @run main/othervm -Xbootclasspath/a:.