diff -r 1343c01b29d5 -r 8584c5b96cb6 src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java --- 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.