Home
last modified time | relevance | path

Searched refs:workerCountOf (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java380 private static int workerCountOf(int c) { return c & CAPACITY; } in workerCountOf() method in ThreadPoolExecutor
665 ctl.compareAndSet(c, ctlOf(targetState, workerCountOf(c)))) in advanceRunState()
687 if (workerCountOf(c) != 0) { // Eligible to terminate in tryTerminate()
899 int wc = workerCountOf(c); in addWorker()
1006 if (workerCountOf(c) >= min) in processWorkerExit()
1043 int wc = workerCountOf(c); in getTask()
1347 if (workerCountOf(c) < corePoolSize) { in execute()
1356 else if (workerCountOf(recheck) == 0) in execute()
1537 if (workerCountOf(ctl.get()) > corePoolSize) in setCorePoolSize()
1571 return workerCountOf(ctl.get()) < corePoolSize && in prestartCoreThread()
[all …]