comparison src/share/vm/runtime/mutexLocker.hpp @ 14770:beea13269eab

removed GraalDeoptLeafGraphIds_lock
author Doug Simon <doug.simon@oracle.com>
date Wed, 26 Mar 2014 20:33:16 +0100
parents d8041d695d19
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14769:141d570b397c 14770:beea13269eab
147 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations 147 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
148 extern Mutex* JfrStream_lock; // protects JFR stream access 148 extern Mutex* JfrStream_lock; // protects JFR stream access
149 extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups 149 extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups
150 #endif 150 #endif
151 151
152 #ifdef GRAAL
153 extern Mutex* GraalDeoptLeafGraphIds_lock; // protects access to the global array of deopt'ed leaf graphs
154 #endif // GRAAL
155
156 // A MutexLocker provides mutual exclusion with respect to a given mutex 152 // A MutexLocker provides mutual exclusion with respect to a given mutex
157 // for the scope which contains the locker. The lock is an OS lock, not 153 // for the scope which contains the locker. The lock is an OS lock, not
158 // an object lock, and the two do not interoperate. Do not use Mutex-based 154 // an object lock, and the two do not interoperate. Do not use Mutex-based
159 // locks to lock on Java objects, because they will not be respected if a 155 // locks to lock on Java objects, because they will not be respected if a
160 // that object is locked using the Java locking mechanism. 156 // that object is locked using the Java locking mechanism.