src/share/vm/runtime/mutexLocker.cpp

changeset 6906
581e70386ec9
parent 6413
595c0f60d50d
child 7535
7ae4e26cb1e0
child 7547
f46871c6c063
equal deleted inserted replaced
6905:fd81a5764900 6906: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

mercurial