From df1b896e01f4e7feeff90c1836aa395201fc4e4e Mon Sep 17 00:00:00 2001 From: Doug Simon Date: Thu, 23 Nov 2023 23:36:08 +0000 Subject: [PATCH] 8320679: [JVMCI] invalid code in PushLocalFrame event message Reviewed-by: never --- src/hotspot/share/jvmci/jvmciEnv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/jvmci/jvmciEnv.cpp b/src/hotspot/share/jvmci/jvmciEnv.cpp index 47db09d6922..b060bd8479f 100644 --- a/src/hotspot/share/jvmci/jvmciEnv.cpp +++ b/src/hotspot/share/jvmci/jvmciEnv.cpp @@ -189,7 +189,7 @@ void JVMCIEnv::init_env_mode_runtime(JavaThread* thread, JNIEnv* parent_env) { JNIAccessMark jni(this, thread); jint result = _env->PushLocalFrame(32); if (result != JNI_OK) { - JVMCI_event_1("[%s:%d] Error pushing local JNI frame (err: %d)", _file, _line, _init_error); + JVMCI_event_1("[%s:%d] Error pushing local JNI frame (err: %d)", _file, _line, result); return; } _pop_frame_on_close = true;