test/jdk/jdk/jfr/api/event/TestGetDuration.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    34 import jdk.test.lib.jfr.CommonHelper;
    34 import jdk.test.lib.jfr.CommonHelper;
    35 import jdk.test.lib.jfr.EventNames;
    35 import jdk.test.lib.jfr.EventNames;
    36 import jdk.test.lib.jfr.Events;
    36 import jdk.test.lib.jfr.Events;
    37 import jdk.test.lib.jfr.SimpleEvent;
    37 import jdk.test.lib.jfr.SimpleEvent;
    38 
    38 
    39 /*
    39 /**
    40  * @test
    40  * @test
    41  * @summary Test for RecordedEvent.getDuration()
    41  * @summary Test for RecordedEvent.getDuration()
    42  * @key jfr
    42  * @key jfr
       
    43  * @requires vm.hasJFR
    43  * @library /test/lib
    44  * @library /test/lib
    44  * @run main/othervm jdk.jfr.api.event.TestGetDuration
    45  * @run main/othervm jdk.jfr.api.event.TestGetDuration
    45  */
    46  */
    46 public class TestGetDuration {
    47 public class TestGetDuration {
    47 
    48