Lines Matching refs:workers
124 // An abstract class representing a gang of workers.
135 // Stop and terminate all workers.
137 // Return true if more workers should be applied to the task.
151 // The count of the number of workers in the gang.
153 // Whether the workers should terminate.
162 // The number of started workers.
164 // The number of finished workers.
219 // Note activation and deactivation of workers.
258 WorkGang(const char* name, uint workers,
265 // Initialize workers in the gang. Return true if initialization
272 // Several instances of this class run in parallel as workers for a gang.
300 // number of workers run for a task is "_active_workers"
305 // returns true so that all workers are started. The method
318 // The currently active workers in this gang.
330 // the parameter "workers" will initialize it to a maximum
332 FlexibleWorkGang(const char* name, uint workers,
335 WorkGang(name, workers, are_GC_task_threads, are_ConcurrentGC_threads),
341 "Trying to set more workers active than there are");
343 assert(v != 0, "Trying to set active workers to 0");
346 "Unless dynamic should use total workers");
367 // the barrier and must wait until all other workers have entered
391 // Set the number of workers that will use the barrier.
392 // Must be called before any of the workers start running.