hotspot/src/share/vm/runtime/mutexLocker.hpp
changeset 27874 e9b44eb1613f
parent 27645 8fe155d119af
child 28831 454224c7e3ba
equal deleted inserted replaced
27873:60cce297ef8e 27874:e9b44eb1613f
   134 extern Mutex*   JfrBuffer_lock;                  // protects JFR buffer operations
   134 extern Mutex*   JfrBuffer_lock;                  // protects JFR buffer operations
   135 extern Mutex*   JfrStream_lock;                  // protects JFR stream access
   135 extern Mutex*   JfrStream_lock;                  // protects JFR stream access
   136 extern Mutex*   JfrThreadGroups_lock;            // protects JFR access to Thread Groups
   136 extern Mutex*   JfrThreadGroups_lock;            // protects JFR access to Thread Groups
   137 #endif
   137 #endif
   138 
   138 
       
   139 #ifndef SUPPORTS_NATIVE_CX8
       
   140 extern Mutex*   UnsafeJlong_lock;                // provides Unsafe atomic updates to jlongs on platforms that don't support cx8
       
   141 #endif
       
   142 
   139 // A MutexLocker provides mutual exclusion with respect to a given mutex
   143 // 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
   144 // 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
   145 // 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
   146 // locks to lock on Java objects, because they will not be respected if a
   143 // that object is locked using the Java locking mechanism.
   147 // that object is locked using the Java locking mechanism.