test/jdk/jdk/jfr/api/consumer/streaming/TestRemovedChunks.java
branchJEP-349-branch
changeset 58271 e47423f1318b
parent 57361 53dccc90a5be
child 58412 8a8fd35b6bc6
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestRemovedChunks.java	Sun Sep 22 17:31:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestRemovedChunks.java	Mon Sep 23 09:16:05 2019 -0700
@@ -36,12 +36,12 @@
  * @key jfr
  * @requires vm.hasJFR
  * @library /test/lib
- * @run main/othervm jdk.jfr.api.consumer.streaming.TestFilledChunks
+ * @run main/othervm jdk.jfr.api.consumer.streaming.TestRemovedChunks
  */
 public class TestRemovedChunks {
     private final static CountDownLatch parkLatch = new CountDownLatch(1);
     private final static CountDownLatch removalLatch = new CountDownLatch(1);
-    private final static CountDownLatch IfeelFineLatch = new CountDownLatch(1);
+    private final static CountDownLatch IFeelFineLatch = new CountDownLatch(1);
 
     static class DataEvent extends Event {
         double double1;
@@ -67,7 +67,7 @@
 
             });
             s.onEvent(IFeelFine.class.getName(), e -> {
-                IfeelFineLatch.countDown();
+                IFeelFineLatch.countDown();
             });
             s.startAsync();
             emitData(15_000_000);
@@ -79,7 +79,7 @@
             removalLatch.countDown();
             IFeelFine i = new IFeelFine();
             i.commit();
-            await(IfeelFineLatch);
+            await(IFeelFineLatch);
         }
 
     }