hotspot/src/share/vm/services/memoryManager.cpp
changeset 28163 322d55d167be
parent 27880 afb974a04396
child 30247 9925b07bba5b
--- a/hotspot/src/share/vm/services/memoryManager.cpp	Mon Dec 08 00:15:55 2014 -0800
+++ b/hotspot/src/share/vm/services/memoryManager.cpp	Thu Dec 11 21:34:43 2014 -0500
@@ -198,7 +198,8 @@
 GCMemoryManager::GCMemoryManager() : MemoryManager() {
   _num_collections = 0;
   _last_gc_stat = NULL;
-  _last_gc_lock = new Mutex(Mutex::leaf, "_last_gc_lock", true);
+  _last_gc_lock = new Mutex(Mutex::leaf, "_last_gc_lock", true,
+                            Monitor::_safepoint_check_never);
   _current_gc_stat = NULL;
   _num_gc_threads = 1;
   _notification_enabled = false;