hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.inline.hpp
changeset 35492 c8c0273e6b91
parent 32623 390a27af5657
child 46502 116a09d8f142
equal deleted inserted replaced
35491:663c609dfeee 35492:c8c0273e6b91
   379       _yield) {
   379       _yield) {
   380     do_yield_work();
   380     do_yield_work();
   381   }
   381   }
   382 }
   382 }
   383 
   383 
   384 inline void Par_MarkFromRootsClosure::do_yield_check() {
   384 inline void ParMarkFromRootsClosure::do_yield_check() {
   385   if (ConcurrentMarkSweepThread::should_yield() &&
   385   if (ConcurrentMarkSweepThread::should_yield() &&
   386       !_collector->foregroundGCIsActive()) {
   386       !_collector->foregroundGCIsActive()) {
   387     do_yield_work();
   387     do_yield_work();
   388   }
   388   }
   389 }
   389 }
   390 
   390 
   391 inline void PushOrMarkClosure::do_yield_check() {
   391 inline void PushOrMarkClosure::do_yield_check() {
   392   _parent->do_yield_check();
   392   _parent->do_yield_check();
   393 }
   393 }
   394 
   394 
   395 inline void Par_PushOrMarkClosure::do_yield_check() {
   395 inline void ParPushOrMarkClosure::do_yield_check() {
   396   _parent->do_yield_check();
   396   _parent->do_yield_check();
   397 }
   397 }
   398 
   398 
   399 // Return value of "true" indicates that the on-going preclean
   399 // Return value of "true" indicates that the on-going preclean
   400 // should be aborted.
   400 // should be aborted.