Mercurial > hg > graal-compiler
diff src/share/vm/runtime/mutexLocker.hpp @ 15608:4e12cac4e51e
removed unnecessary mutex
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 13 May 2014 11:55:11 +0200 |
parents | 063ec2920d21 |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.hpp Tue May 13 11:06:10 2014 +0200 +++ b/src/share/vm/runtime/mutexLocker.hpp Tue May 13 11:55:11 2014 +0200 @@ -146,10 +146,6 @@ extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups #endif -#ifdef GRAAL -extern Monitor* GraalInitialization_lock; // ensures exactly 1 thread initializes Graal -#endif - // 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