diff -r f9fe56417050 -r 268ea94772da src/hotspot/share/jfr/jni/jfrJniMethod.hpp --- a/src/hotspot/share/jfr/jni/jfrJniMethod.hpp Thu May 17 14:19:54 2018 +0200 +++ b/src/hotspot/share/jfr/jni/jfrJniMethod.hpp Thu May 17 14:31:31 2018 +0200 @@ -117,7 +117,7 @@ jlong JNICALL jfr_get_epoch_address(JNIEnv* env, jobject jvm); -jlong JNICALL jfr_add_string_constant(JNIEnv* env, jclass jvm, jlong gen, jlong id, jstring string); +jboolean JNICALL jfr_add_string_constant(JNIEnv* env, jclass jvm, jboolean epoch, jlong id, jstring string); void JNICALL jfr_uncaught_exception(JNIEnv* env, jobject jvm, jobject thread, jthrowable throwable);