comparison src/share/vm/runtime/mutexLocker.hpp @ 4800:94ec88ca68e2

7115199: Add event tracing hooks and Java Flight Recorder infrastructure Summary: Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR. Reviewed-by: acorn, sspitsyn Contributed-by: markus.gronlund@oracle.com
author phh
date Wed, 11 Jan 2012 17:34:02 -0500
parents f08d439fab8c
children 0a10d80352d5
comparison
equal deleted inserted replaced
4773:4f25538b54c9 4800: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