aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/mutexLocker.cpp
diff options
context:
space:
mode:
authorkamg <none@none>2011-02-02 14:38:01 -0500
committerkamg <none@none>2011-02-02 14:38:01 -0500
commitb6dd7d15ef248dc96b9d3cd4fb37e811086c58d4 (patch)
tree234a9ac2155f0f532cbc1a5b002bbf9ec4f8f84b /src/share/vm/runtime/mutexLocker.cpp
parentef888e4fd51808152c6ab9178dd861b89e6aaa02 (diff)
downloadjdk8u_hotspot-b6dd7d15ef248dc96b9d3cd4fb37e811086c58d4.tar.gz
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
Diffstat (limited to 'src/share/vm/runtime/mutexLocker.cpp')
-rw-r--r--src/share/vm/runtime/mutexLocker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/runtime/mutexLocker.cpp b/src/share/vm/runtime/mutexLocker.cpp
index 25b0c339d..b3d082f88 100644
--- a/src/share/vm/runtime/mutexLocker.cpp
+++ b/src/share/vm/runtime/mutexLocker.cpp
@@ -129,7 +129,7 @@ Mutex* HotCardCache_lock = NULL;
Monitor* GCTaskManager_lock = NULL;
Mutex* Management_lock = NULL;
-Monitor* LowMemory_lock = NULL;
+Monitor* Service_lock = NULL;
#define MAX_NUM_MUTEX 128
static Monitor * _mutex_array[MAX_NUM_MUTEX];
@@ -203,7 +203,7 @@ void mutex_init() {
def(Patching_lock , Mutex , special, true ); // used for safepointing and code patching.
def(ObjAllocPost_lock , Monitor, special, false);
- def(LowMemory_lock , Monitor, special, true ); // used for low memory detection
+ def(Service_lock , Monitor, special, true ); // used for service thread operations
def(JmethodIdCreation_lock , Mutex , leaf, true ); // used for creating jmethodIDs.
def(SystemDictionary_lock , Monitor, leaf, true ); // lookups done by VM thread