equal
deleted
inserted
replaced
35 * @test |
35 * @test |
36 * @summary Tests that a stream can gracefully handle chunk being removed |
36 * @summary Tests that a stream can gracefully handle chunk being removed |
37 * @key jfr |
37 * @key jfr |
38 * @requires vm.hasJFR |
38 * @requires vm.hasJFR |
39 * @library /test/lib |
39 * @library /test/lib |
40 * @run main/othervm jdk.jfr.api.consumer.streaming.TestRemovedChunks |
40 * @run main/othervm -Xlog:jfr*=info jdk.jfr.api.consumer.streaming.TestRemovedChunks |
41 */ |
41 */ |
42 public class TestRemovedChunks { |
42 public class TestRemovedChunks { |
43 private final static CountDownLatch parkLatch = new CountDownLatch(1); |
43 private final static CountDownLatch parkLatch = new CountDownLatch(1); |
44 private final static CountDownLatch removalLatch = new CountDownLatch(1); |
44 private final static CountDownLatch removalLatch = new CountDownLatch(1); |
45 private final static CountDownLatch IFeelFineLatch = new CountDownLatch(1); |
45 private final static CountDownLatch IFeelFineLatch = new CountDownLatch(1); |