hotspot/src/share/vm/runtime/thread.cpp
changeset 28163 322d55d167be
parent 27923 2c79bc396381
child 28170 b985dc631984
--- a/hotspot/src/share/vm/runtime/thread.cpp	Mon Dec 08 00:15:55 2014 -0800
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Thu Dec 11 21:34:43 2014 -0500
@@ -230,7 +230,8 @@
   _visited_for_critical_count = false;
 #endif
 
-  _SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true);
+  _SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true,
+                         Monitor::_safepoint_check_sometimes);
   _suspend_flags = 0;
 
   // thread-specific hashCode stream generator state - Marsaglia shift-xor form