comparison src/share/vm/runtime/mutexLocker.cpp @ 20192:581e70386ec9

8039147: Cleanup SuspendibleThreadSet Reviewed-by: brutisso, tschatzl, mgerdin
author pliden
date Fri, 11 Apr 2014 12:29:24 +0200
parents 595c0f60d50d
children 7848fc12602b f46871c6c063
comparison
equal deleted inserted replaced
20191:fd81a5764900 20192:581e70386ec9
67 Monitor* VMOperationRequest_lock = NULL; 67 Monitor* VMOperationRequest_lock = NULL;
68 Monitor* Safepoint_lock = NULL; 68 Monitor* Safepoint_lock = NULL;
69 Monitor* SerializePage_lock = NULL; 69 Monitor* SerializePage_lock = NULL;
70 Monitor* Threads_lock = NULL; 70 Monitor* Threads_lock = NULL;
71 Monitor* CGC_lock = NULL; 71 Monitor* CGC_lock = NULL;
72 Mutex* STS_init_lock = NULL; 72 Monitor* STS_lock = NULL;
73 Monitor* SLT_lock = NULL; 73 Monitor* SLT_lock = NULL;
74 Monitor* iCMS_lock = NULL; 74 Monitor* iCMS_lock = NULL;
75 Monitor* FullGCCount_lock = NULL; 75 Monitor* FullGCCount_lock = NULL;
76 Monitor* CMark_lock = NULL; 76 Monitor* CMark_lock = NULL;
77 Mutex* CMRegionStack_lock = NULL; 77 Mutex* CMRegionStack_lock = NULL;
171 171
172 void mutex_init() { 172 void mutex_init() {
173 def(tty_lock , Mutex , event, true ); // allow to lock in VM 173 def(tty_lock , Mutex , event, true ); // allow to lock in VM
174 174
175 def(CGC_lock , Monitor, special, true ); // coordinate between fore- and background GC 175 def(CGC_lock , Monitor, special, true ); // coordinate between fore- and background GC
176 def(STS_init_lock , Mutex, leaf, true ); 176 def(STS_lock , Monitor, leaf, true );
177 if (UseConcMarkSweepGC) { 177 if (UseConcMarkSweepGC) {
178 def(iCMS_lock , Monitor, special, true ); // CMS incremental mode start/stop notification 178 def(iCMS_lock , Monitor, special, true ); // CMS incremental mode start/stop notification
179 } 179 }
180 if (UseConcMarkSweepGC || UseG1GC) { 180 if (UseConcMarkSweepGC || UseG1GC) {
181 def(FullGCCount_lock , Monitor, leaf, true ); // in support of ExplicitGCInvokesConcurrent 181 def(FullGCCount_lock , Monitor, leaf, true ); // in support of ExplicitGCInvokesConcurrent