157 |
157 |
158 def(CGC_lock , Monitor, special, true ); // coordinate between fore- and background GC |
158 def(CGC_lock , Monitor, special, true ); // coordinate between fore- and background GC |
159 def(STS_init_lock , Mutex, leaf, true ); |
159 def(STS_init_lock , Mutex, leaf, true ); |
160 if (UseConcMarkSweepGC) { |
160 if (UseConcMarkSweepGC) { |
161 def(iCMS_lock , Monitor, special, true ); // CMS incremental mode start/stop notification |
161 def(iCMS_lock , Monitor, special, true ); // CMS incremental mode start/stop notification |
|
162 } |
|
163 if (UseConcMarkSweepGC || UseG1GC) { |
162 def(FullGCCount_lock , Monitor, leaf, true ); // in support of ExplicitGCInvokesConcurrent |
164 def(FullGCCount_lock , Monitor, leaf, true ); // in support of ExplicitGCInvokesConcurrent |
163 } |
165 } |
164 if (UseG1GC) { |
166 if (UseG1GC) { |
165 def(CMark_lock , Monitor, nonleaf, true ); // coordinate concurrent mark thread |
167 def(CMark_lock , Monitor, nonleaf, true ); // coordinate concurrent mark thread |
166 def(ZF_mon , Monitor, leaf, true ); |
168 def(ZF_mon , Monitor, leaf, true ); |