--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java Thu Oct 10 17:36:57 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java Fri Oct 11 19:46:05 2019 +0200
@@ -466,10 +466,8 @@
* pointers to the metadata event, last check point event, correct file size and
* the generation id.
*
- * @param includeMetadata {@code true} if metadata event should be written, {@code false}
- * otherwise
*/
- public native void flush(boolean includeMetadata);
+ public native void flush();
/**
* Sets the location of the disk repository, to be used at an emergency
* dump.