Searched refs:wc (Results 1 – 2 of 2) sorted by relevance
410 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() argument928 int wc = workerCountOf(c); in addWorker() local929 if (wc >= CAPACITY || in addWorker()930 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()1072 int wc = workerCountOf(c); in getTask() local1075 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()1077 if ((wc > maximumPoolSize || (timed && timedOut)) in getTask()1078 && (wc > 1 || workQueue.isEmpty())) { in getTask()1609 int wc = workerCountOf(ctl.get()); in ensurePrestart() local1610 if (wc < corePoolSize) in ensurePrestart()[all …]
2295 int wc = w.config; in helpQuiescePool() local2298 if (wc >= 0 && (t = w.pop()) != null) { // run locals if LIFO in helpQuiescePool()