Searched refs:workerCountOf (Results 1 – 1 of 1) sorted by relevance
380 private static int workerCountOf(int c) { return c & CAPACITY; } in workerCountOf() method in ThreadPoolExecutor665 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 …]