hotspot/src/share/vm/runtime/mutexLocker.hpp
changeset 14390 bd0d881cf1c5
parent 11587 16b0200f252d
child 17029 9ff8d7c0ed79
equal deleted inserted replaced
14389:655c5b5f7486 14390:bd0d881cf1c5
   140 
   140 
   141 extern Monitor* JfrQuery_lock;                   // protects JFR use
   141 extern Monitor* JfrQuery_lock;                   // protects JFR use
   142 extern Monitor* JfrMsg_lock;                     // protects JFR messaging
   142 extern Monitor* JfrMsg_lock;                     // protects JFR messaging
   143 extern Mutex*   JfrBuffer_lock;                  // protects JFR buffer operations
   143 extern Mutex*   JfrBuffer_lock;                  // protects JFR buffer operations
   144 extern Mutex*   JfrStream_lock;                  // protects JFR stream access
   144 extern Mutex*   JfrStream_lock;                  // protects JFR stream access
       
   145 extern Monitor* PeriodicTask_lock;               // protects the periodic task structure
   145 
   146 
   146 // A MutexLocker provides mutual exclusion with respect to a given mutex
   147 // A MutexLocker provides mutual exclusion with respect to a given mutex
   147 // for the scope which contains the locker.  The lock is an OS lock, not
   148 // for the scope which contains the locker.  The lock is an OS lock, not
   148 // an object lock, and the two do not interoperate.  Do not use Mutex-based
   149 // an object lock, and the two do not interoperate.  Do not use Mutex-based
   149 // locks to lock on Java objects, because they will not be respected if a
   150 // locks to lock on Java objects, because they will not be respected if a