src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java
branchJEP-349-branch
changeset 58165 8584c5b96cb6
parent 57360 5d043a159d5c
child 58567 e77a97d0edbb
equal deleted inserted replaced
58164:1343c01b29d5 58165:8584c5b96cb6
   466      * pointers to the metadata event, last check point event, correct file size and
   466      * pointers to the metadata event, last check point event, correct file size and
   467      * the generation id.
   467      * the generation id.
   468      *
   468      *
   469      * @param includeMetadata {@code true} if metadata event should be written, {@code false}
   469      * @param includeMetadata {@code true} if metadata event should be written, {@code false}
   470      *        otherwise
   470      *        otherwise
   471      * @param flushCounter the (flushCounter + 1= should be written to the chunk header, by default the
   471      */
   472      *        value in the chunk header should be {@code 1} and set {@code 0} once the chunk is complete.
   472     public native void flush(boolean includeMetadata);
   473      */
       
   474     public native void flush(boolean includeMetadata, short flushCounter);
       
   475     /**
   473     /**
   476      * Sets the location of the disk repository, to be used at an emergency
   474      * Sets the location of the disk repository, to be used at an emergency
   477      * dump.
   475      * dump.
   478      *
   476      *
   479      * @param dirText
   477      * @param dirText