hotspot/src/share/vm/gc/cms/yieldingWorkgroup.hpp
changeset 31030 811c2501a5a6
parent 30881 7a3899d7cea0
child 32360 86790204fc23
equal deleted inserted replaced
31028:8c5b4d489c41 31030:811c2501a5a6
   174   }
   174   }
   175   // Allocate a worker and return a pointer to it.
   175   // Allocate a worker and return a pointer to it.
   176   GangWorker* allocate_worker(uint which);
   176   GangWorker* allocate_worker(uint which);
   177 
   177 
   178   // Run a task; returns when the task is done, or the workers yield,
   178   // Run a task; returns when the task is done, or the workers yield,
   179   // or the task is aborted, or the work gang is terminated via stop().
   179   // or the task is aborted.
   180   // A task that has been yielded can be continued via this same interface
   180   // A task that has been yielded can be continued via this same interface
   181   // by using the same task repeatedly as the argument to the call.
   181   // by using the same task repeatedly as the argument to the call.
   182   // It is expected that the YieldingFlexibleGangTask carries the appropriate
   182   // It is expected that the YieldingFlexibleGangTask carries the appropriate
   183   // continuation information used by workers to continue the task
   183   // continuation information used by workers to continue the task
   184   // from its last yield point. Thus, a completed task will return
   184   // from its last yield point. Thus, a completed task will return