src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java
branchJEP-349-branch
changeset 58165 8584c5b96cb6
parent 57360 5d043a159d5c
child 58567 e77a97d0edbb
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java	Mon Sep 16 11:18:50 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java	Mon Sep 16 12:47:53 2019 +0200
@@ -468,10 +468,8 @@
      *
      * @param includeMetadata {@code true} if metadata event should be written, {@code false}
      *        otherwise
-     * @param flushCounter the (flushCounter + 1= should be written to the chunk header, by default the
-     *        value in the chunk header should be {@code 1} and set {@code 0} once the chunk is complete.
      */
-    public native void flush(boolean includeMetadata, short flushCounter);
+    public native void flush(boolean includeMetadata);
     /**
      * Sets the location of the disk repository, to be used at an emergency
      * dump.