src/hotspot/share/prims/jvmtiExport.cpp
changeset 52619 5b4242996d8c
parent 52319 625f6c742392
child 52691 d9f6a700fec9
--- a/src/hotspot/share/prims/jvmtiExport.cpp	Tue Nov 20 09:35:15 2018 +0100
+++ b/src/hotspot/share/prims/jvmtiExport.cpp	Tue Nov 20 10:08:18 2018 +0100
@@ -2944,8 +2944,7 @@
     return false;
   }
 
-  if (Compile_lock->owner() == thread ||
-      MultiArray_lock->owner() == thread) {
+  if (MultiArray_lock->owner() == thread) {
     return false;
   }
   return true;