equal
deleted
inserted
replaced
29 import jdk.jfr.Recording; |
29 import jdk.jfr.Recording; |
30 import jdk.jfr.consumer.RecordedEvent; |
30 import jdk.jfr.consumer.RecordedEvent; |
31 import jdk.test.lib.jfr.EventNames; |
31 import jdk.test.lib.jfr.EventNames; |
32 import jdk.test.lib.jfr.Events; |
32 import jdk.test.lib.jfr.Events; |
33 |
33 |
34 /* |
34 /** |
35 * @test |
35 * @test |
36 * @key jfr |
36 * @key jfr |
|
37 * @requires vm.hasJFR |
37 * @library /test/lib |
38 * @library /test/lib |
38 * @run main/othervm jdk.jfr.event.os.TestThreadContextSwitches |
39 * @run main/othervm jdk.jfr.event.os.TestThreadContextSwitches |
39 */ |
40 */ |
40 public class TestThreadContextSwitches { |
41 public class TestThreadContextSwitches { |
41 private final static String EVENT_NAME = EventNames.ThreadContextSwitchRate; |
42 private final static String EVENT_NAME = EventNames.ThreadContextSwitchRate; |