src/share/vm/runtime/mutexLocker.hpp

changeset 3427
94ec88ca68e2
parent 3156
f08d439fab8c
child 3467
0a10d80352d5
equal deleted inserted replaced
3402:4f25538b54c9 3427:94ec88ca68e2
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

mercurial