src/hotspot/share/runtime/mutexLocker.hpp
changeset 49611 973c9504178e
parent 49601 bfc70d5d291a
child 49632 64f9ebc85e67
--- a/src/hotspot/share/runtime/mutexLocker.hpp	Mon Mar 26 08:17:56 2018 -0400
+++ b/src/hotspot/share/runtime/mutexLocker.hpp	Mon Mar 26 12:59:45 2018 -0700
@@ -140,6 +140,9 @@
 extern Mutex*   MetaspaceExpand_lock;            // protects Metaspace virtualspace and chunk expansions
 
 
+extern Monitor* CodeHeapStateAnalytics_lock;     // lock print functions against concurrent analyze functions.
+                                                 // Only used locally in PrintCodeCacheLayout processing.
+
 // A MutexLocker provides mutual exclusion with respect to a given mutex
 // for the scope which contains the locker.  The lock is an OS lock, not
 // an object lock, and the two do not interoperate.  Do not use Mutex-based