Skip to content
Permalink
Browse files
moved thread_obj into disabler.
  • Loading branch information
lmesnik committed Mar 12, 2021
1 parent e10c31d commit 923370d87df6cb9abd63a27855b20dc4bcd7f9ad
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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();

0 comments on commit 923370d

Please sign in to comment.