comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 6220:3a431b605145

Merge
author jmasa
date Mon, 16 Jul 2012 13:00:26 -0700
parents d2a62e0f25eb 922993931b3d
children a2f7274eb6ef
comparison
equal deleted inserted replaced
6212:54e66510c9cd 6220:3a431b605145
3154 if (should_yield()) { 3154 if (should_yield()) {
3155 if (worker_id == 0) { 3155 if (worker_id == 0) {
3156 _g1h->g1_policy()->record_concurrent_pause(); 3156 _g1h->g1_policy()->record_concurrent_pause();
3157 } 3157 }
3158 cmThread()->yield(); 3158 cmThread()->yield();
3159 if (worker_id == 0) {
3160 _g1h->g1_policy()->record_concurrent_pause_end();
3161 }
3162 return true; 3159 return true;
3163 } else { 3160 } else {
3164 return false; 3161 return false;
3165 } 3162 }
3166 } 3163 }