hotspot/src/share/vm/utilities/workgroup.hpp
changeset 30154 39cd4e2ccf1c
parent 24468 cb71997b6484
child 30585 12f312d694cd
equal deleted inserted replaced
30153:596ed88949ad 30154:39cd4e2ccf1c
   338   virtual bool needs_more_workers() const {
   338   virtual bool needs_more_workers() const {
   339     return _started_workers < _active_workers;
   339     return _started_workers < _active_workers;
   340   }
   340   }
   341 };
   341 };
   342 
   342 
   343 // Work gangs in garbage collectors: 2009-06-10
       
   344 //
       
   345 // SharedHeap - work gang for stop-the-world parallel collection.
       
   346 //   Used by
       
   347 //     ParNewGeneration
       
   348 //     CMSParRemarkTask
       
   349 //     CMSRefProcTaskExecutor
       
   350 //     G1CollectedHeap
       
   351 //     G1ParFinalCountTask
       
   352 // ConcurrentMark
       
   353 // CMSCollector
       
   354 
       
   355 // A class that acts as a synchronisation barrier. Workers enter
   343 // A class that acts as a synchronisation barrier. Workers enter
   356 // the barrier and must wait until all other workers have entered
   344 // the barrier and must wait until all other workers have entered
   357 // before any of them may leave.
   345 // before any of them may leave.
   358 
   346 
   359 class WorkGangBarrierSync : public StackObj {
   347 class WorkGangBarrierSync : public StackObj {