Searched refs:workers (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadPoolExecutor.java299 * The workerCount is the number of workers that have been
305 * reported as the current size of the workers set.
413 * Lock held on access to workers set and related bookkeeping.
422 * ensuring workers set is stable while separately checking
431 private final HashSet<Worker> workers = new HashSet<Worker>(); field in class:ThreadPoolExecutor
492 * Core pool size is the minimum number of workers to keep alive
685 for (Worker w : workers)
701 for (Worker w : workers) {
721 * enabled but there are still other workers. In this case, at
725 * workers sinc
[all...]
H A DForkJoinPool.java137 * split them into subtasks that may be stolen by other workers.
144 * decentralized control -- workers mostly take tasks from
165 * Recording Workers. Workers are recorded in the "workers" array
168 * structure to support index-based random steals by workers.
169 * Updates to the array recording new workers and unrecording
172 * and accessed directly by workers. To simplify index-based
176 * workers (which is unlikely to need further resizing during
179 * that contains all current workers. All worker thread creation
181 * terminated workers, and/or compensation for blocked
182 * workers
416 ForkJoinWorkerThread[] workers; field in class:ForkJoinPool
[all...]
H A DForkJoinWorkerThread.java104 * in that: (1) We only maintain dependency links across workers
106 * require a linear scan of workers array to locate stealers, but
205 * its workers array.
647 if (t != null || (ws = pool.workers) == null)
748 ForkJoinWorkerThread[] ws = pool.workers;
805 * some workers queue, steals and executes it.
812 ForkJoinWorkerThread[] ws = pool.workers;
842 * number of idle workers.
906 ForkJoinWorkerThread[] ws = p.workers;

Completed in 140 milliseconds