8231162: JVMTI RawMonitorWait triggers assertion failure: Only JavaThreads can be interruptible
authordholmes
Wed, 18 Sep 2019 17:31:35 -0400
changeset 58222 ee37c9b2eb61
parent 58221 b73753eff8b7
child 58223 778fc2dcbdaa
8231162: JVMTI RawMonitorWait triggers assertion failure: Only JavaThreads can be interruptible Reviewed-by: dcubed
src/hotspot/share/prims/jvmtiEnv.cpp
--- a/src/hotspot/share/prims/jvmtiEnv.cpp	Wed Sep 18 21:20:13 2019 +0200
+++ b/src/hotspot/share/prims/jvmtiEnv.cpp	Wed Sep 18 17:31:35 2019 -0400
@@ -3411,7 +3411,7 @@
 #endif /* PROPER_TRANSITIONS */
   } else {
     if (thread->is_Named_thread()) {
-      r = rmonitor->raw_wait(millis, true, thread);
+      r = rmonitor->raw_wait(millis, false, thread);
     } else {
       ShouldNotReachHere();
     }