comparison src/share/vm/runtime/mutexLocker.hpp @ 5129:51111665eda6

Support for recording a leaf graph id for each deoptimization point in the debug info.
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 21 Mar 2012 10:47:02 +0100
parents 0a10d80352d5
children e522a00b91aa
comparison
equal deleted inserted replaced
5128:e2da6471a9a1 5129:51111665eda6
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 145
146 #ifdef GRAAL
147 extern Mutex* GraalDeoptLeafGraphIds_lock; // protects access to the global array of deopt'ed leaf graphs
148 #endif // GRAAL
149
146 // A MutexLocker provides mutual exclusion with respect to a given mutex 150 // 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 151 // 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 152 // 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 153 // locks to lock on Java objects, because they will not be respected if a
150 // that object is locked using the Java locking mechanism. 154 // that object is locked using the Java locking mechanism.