equal
deleted
inserted
replaced
38 import jdk.jfr.consumer.RecordedEvent; |
38 import jdk.jfr.consumer.RecordedEvent; |
39 import jdk.test.lib.Asserts; |
39 import jdk.test.lib.Asserts; |
40 import jdk.test.lib.jfr.Events; |
40 import jdk.test.lib.jfr.Events; |
41 import jdk.test.lib.jfr.SimpleEvent; |
41 import jdk.test.lib.jfr.SimpleEvent; |
42 |
42 |
43 /* @test |
43 /** |
|
44 * @test |
44 * @key jfr |
45 * @key jfr |
|
46 * @requires vm.hasJFR |
45 * @library /test/lib |
47 * @library /test/lib |
46 * @run main/othervm jdk.jfr.api.flightrecorder.TestSnapshot |
48 * @run main/othervm jdk.jfr.api.flightrecorder.TestSnapshot |
47 */ |
49 */ |
48 public class TestSnapshot { |
50 public class TestSnapshot { |
49 private final static int RECORDING_COUNT = 5; |
51 private final static int RECORDING_COUNT = 5; |