From 971c2efb698065c65dcf7373d8c3027f58d5f503 Mon Sep 17 00:00:00 2001 From: Serguei Spitsyn Date: Fri, 30 Jun 2023 20:58:15 +0000 Subject: [PATCH] 8303086: SIGSEGV in JavaThread::is_interp_only_mode() Reviewed-by: pchilanomate, cjplummer, lmesnik --- src/hotspot/share/prims/jvmtiEnv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/prims/jvmtiEnv.cpp b/src/hotspot/share/prims/jvmtiEnv.cpp index cc9df0a327619..e82e4de0f6678 100644 --- a/src/hotspot/share/prims/jvmtiEnv.cpp +++ b/src/hotspot/share/prims/jvmtiEnv.cpp @@ -575,7 +575,7 @@ JvmtiEnv::SetEventNotificationMode(jvmtiEventMode mode, jvmtiEvent event_type, j if (event_type == JVMTI_EVENT_CLASS_FILE_LOAD_HOOK && enabled) { record_class_file_load_hook_enabled(); } - JvmtiVTMSTransitionDisabler disabler(event_thread); + JvmtiVTMSTransitionDisabler disabler; if (event_thread == nullptr) { // Can be called at Agent_OnLoad() time with event_thread == nullptr