Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.hpp Fri Mar 16 11:03:54 2012 +0100 +++ b/src/share/vm/runtime/mutexLocker.hpp Wed Mar 21 10:47:02 2012 +0100 @@ -143,6 +143,10 @@ extern Mutex* JfrBuffer_lock; // protects JFR buffer operations extern Mutex* JfrStream_lock; // protects JFR stream access +#ifdef GRAAL +extern Mutex* GraalDeoptLeafGraphIds_lock; // protects access to the global array of deopt'ed leaf graphs +#endif // GRAAL + // A MutexLocker provides mutual exclusion with respect to a given mutex // for the scope which contains the locker. The lock is an OS lock, not // an object lock, and the two do not interoperate. Do not use Mutex-based