Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
2194:face83fc8882 | 2195:bf8517f4e4d0 |
---|---|
129 extern Mutex* MMUTracker_lock; // protects the MMU | 129 extern Mutex* MMUTracker_lock; // protects the MMU |
130 // tracker data structures | 130 // tracker data structures |
131 extern Mutex* HotCardCache_lock; // protects the hot card cache | 131 extern Mutex* HotCardCache_lock; // protects the hot card cache |
132 | 132 |
133 extern Mutex* Management_lock; // a lock used to serialize JVM management | 133 extern Mutex* Management_lock; // a lock used to serialize JVM management |
134 extern Monitor* LowMemory_lock; // a lock used for low memory detection | 134 extern Monitor* Service_lock; // a lock used for service thread operation |
135 | 135 |
136 // A MutexLocker provides mutual exclusion with respect to a given mutex | 136 // A MutexLocker provides mutual exclusion with respect to a given mutex |
137 // for the scope which contains the locker. The lock is an OS lock, not | 137 // for the scope which contains the locker. The lock is an OS lock, not |
138 // an object lock, and the two do not interoperate. Do not use Mutex-based | 138 // an object lock, and the two do not interoperate. Do not use Mutex-based |
139 // locks to lock on Java objects, because they will not be respected if a | 139 // locks to lock on Java objects, because they will not be respected if a |