--- a/src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp Thu Dec 13 14:21:04 2018 +0100
+++ b/src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp Thu Dec 13 14:36:54 2018 +0100
@@ -78,7 +78,8 @@
(char*)"setForceInstrumentation", (char*)"(Z)V", (void*)jfr_set_force_instrumentation,
(char*)"getUnloadedEventClassCount", (char*)"()J", (void*)jfr_get_unloaded_event_classes_count,
(char*)"setCutoff", (char*)"(JJ)Z", (void*)jfr_set_cutoff,
- (char*)"emitOldObjectSamples", (char*)"(JZ)V", (void*)jfr_emit_old_object_samples
+ (char*)"emitOldObjectSamples", (char*)"(JZ)V", (void*)jfr_emit_old_object_samples,
+ (char*)"shouldRotateDisk", (char*)"()Z", (void*)jfr_should_rotate_disk
};
const size_t method_array_length = sizeof(method) / sizeof(JNINativeMethod);