Skip to content

Commit

Permalink
Backport 971c2efb698065c65dcf7373d8c3027f58d5f503
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Jul 5, 2023
1 parent 604e03d commit 9a28086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/prims/jvmtiEnv.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9a28086

Please sign in to comment.