equal
deleted
inserted
replaced
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 |