Skip to content

Commit d3f7e3b

Browse files
author
Serguei Spitsyn
committed
8293339: vm/jvmti/StopThread/stop001/stop00103 crashes with SIGSEGV in Continuation::is_continuation_mounted
Reviewed-by: cjplummer, lmesnik
1 parent 524af94 commit d3f7e3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/share/prims/jvmtiEnv.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,8 @@ JvmtiEnv::ResumeAllVirtualThreads(jint except_count, const jthread* except_list)
11821182
jvmtiError
11831183
JvmtiEnv::StopThread(jthread thread, jobject exception) {
11841184
JavaThread* current_thread = JavaThread::current();
1185+
1186+
JvmtiVTMSTransitionDisabler disabler;
11851187
ThreadsListHandle tlh(current_thread);
11861188
JavaThread* java_thread = NULL;
11871189
oop thread_oop = NULL;

0 commit comments

Comments
 (0)