Mercurial > hg > graal-compiler
diff src/share/vm/runtime/mutexLocker.hpp @ 2195:bf8517f4e4d0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Summary: Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
author | kamg |
---|---|
date | Wed, 02 Feb 2011 14:38:01 -0500 |
parents | 0fa27f37d4d4 |
children | f08d439fab8c |
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.hpp Wed Feb 02 18:38:40 2011 -0500 +++ b/src/share/vm/runtime/mutexLocker.hpp Wed Feb 02 14:38:01 2011 -0500 @@ -131,7 +131,7 @@ extern Mutex* HotCardCache_lock; // protects the hot card cache extern Mutex* Management_lock; // a lock used to serialize JVM management -extern Monitor* LowMemory_lock; // a lock used for low memory detection +extern Monitor* Service_lock; // a lock used for service thread operation // 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