Skip to content

Commit

Permalink
moved thread_obj into disabler.
Browse files Browse the repository at this point in the history
  • Loading branch information
lmesnik committed Mar 12, 2021
1 parent e10c31d commit 923370d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/prims/jvmtiEnv.cpp
Expand Up @@ -149,9 +149,9 @@ JvmtiEnv::SetThreadLocalStorage(jthread thread, const void* data) {
jvmtiError err = JVMTI_ERROR_NONE;
JavaThread* java_thread = NULL;
JvmtiThreadState* state = NULL;
JvmtiVTMTDisabler vtmt_disabler;
oop thread_obj = NULL;

JvmtiVTMTDisabler vtmt_disabler;
if (thread == NULL) {
java_thread = JavaThread::current();
state = java_thread->jvmti_thread_state();
Expand Down

0 comments on commit 923370d

Please sign in to comment.