equal
deleted
inserted
replaced
27 |
27 |
28 import java.util.HashMap; |
28 import java.util.HashMap; |
29 import java.util.Map; |
29 import java.util.Map; |
30 import java.util.concurrent.CountDownLatch; |
30 import java.util.concurrent.CountDownLatch; |
31 |
31 |
|
32 import jdk.jfr.Enabled; |
32 import jdk.jfr.Event; |
33 import jdk.jfr.Event; |
33 import jdk.jfr.Name; |
34 import jdk.jfr.Name; |
34 import jdk.jfr.consumer.RecordingStream; |
35 import jdk.jfr.consumer.RecordingStream; |
35 |
36 |
36 /** |
37 /** |
42 * @run main/othervm -Xlog:jfr+system+parser jdk.jfr.api.consumer.recordingstream.TestSetSettings |
43 * @run main/othervm -Xlog:jfr+system+parser jdk.jfr.api.consumer.recordingstream.TestSetSettings |
43 */ |
44 */ |
44 public final class TestSetSettings { |
45 public final class TestSetSettings { |
45 |
46 |
46 @Name("LateBloomer") |
47 @Name("LateBloomer") |
|
48 @Enabled(false) |
47 private final static class LateBloomer extends Event { |
49 private final static class LateBloomer extends Event { |
48 } |
50 } |
49 |
51 |
50 private static CountDownLatch lateBloomer = new CountDownLatch(1); |
52 private static CountDownLatch lateBloomer = new CountDownLatch(1); |
51 |
53 |