hotspot/src/share/vm/runtime/mutexLocker.hpp
changeset 11480 1bf714e8adb4
parent 10565 dc90c239f4ec
child 11587 16b0200f252d
equal deleted inserted replaced
11441:a89f443814cd 11480:1bf714e8adb4
   133                                                  // tracker data structures
   133                                                  // tracker data structures
   134 extern Mutex*   HotCardCache_lock;               // protects the hot card cache
   134 extern Mutex*   HotCardCache_lock;               // protects the hot card cache
   135 
   135 
   136 extern Mutex*   Management_lock;                 // a lock used to serialize JVM management
   136 extern Mutex*   Management_lock;                 // a lock used to serialize JVM management
   137 extern Monitor* Service_lock;                    // a lock used for service thread operation
   137 extern Monitor* Service_lock;                    // a lock used for service thread operation
       
   138 extern Mutex*   Stacktrace_lock;                 // used to guard access to the stacktrace table
       
   139 
       
   140 extern Monitor* JfrQuery_lock;                   // protects JFR use
       
   141 extern Monitor* JfrMsg_lock;                     // protects JFR messaging
       
   142 extern Mutex*   JfrBuffer_lock;                  // protects JFR buffer operations
       
   143 extern Mutex*   JfrStream_lock;                  // protects JFR stream access
   138 
   144 
   139 // A MutexLocker provides mutual exclusion with respect to a given mutex
   145 // A MutexLocker provides mutual exclusion with respect to a given mutex
   140 // for the scope which contains the locker.  The lock is an OS lock, not
   146 // for the scope which contains the locker.  The lock is an OS lock, not
   141 // an object lock, and the two do not interoperate.  Do not use Mutex-based
   147 // an object lock, and the two do not interoperate.  Do not use Mutex-based
   142 // locks to lock on Java objects, because they will not be respected if a
   148 // locks to lock on Java objects, because they will not be respected if a