Searched refs:wc (Results 1 – 3 of 3) sorted by relevance
413 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() argument933 int wc = workerCountOf(c); in addWorker() local934 if (wc >= CAPACITY || in addWorker()935 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()1077 int wc = workerCountOf(c); in getTask() local1080 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()1082 if ((wc > maximumPoolSize || (timed && timedOut)) in getTask()1083 && (wc > 1 || workQueue.isEmpty())) { in getTask()1615 int wc = workerCountOf(ctl.get()); in ensurePrestart() local1616 if (wc < corePoolSize) in ensurePrestart()[all …]
2298 int wc = w.config; in helpQuiescePool() local2301 if (wc >= 0 && (t = w.pop()) != null) { // run locals if LIFO in helpQuiescePool()
91 private static int ctlOf(int rs, int wc) { in ctlOf() argument