test/jdk/jdk/jfr/api/consumer/streaming/TestRemovedChunks.java
branchJEP-349-branch
changeset 58572 0d3ae8536b83
parent 58476 28c81f635a5e
equal deleted inserted replaced
58571:3d823192d9ca 58572:0d3ae8536b83
    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);