equal
deleted
inserted
replaced
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 |