Searched refs:wc (Results 1 – 2 of 2) sorted by relevance
381 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() argument899 int wc = workerCountOf(c); in addWorker() local900 if (wc >= CAPACITY || in addWorker()901 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()1043 int wc = workerCountOf(c); in getTask() local1046 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()1048 if ((wc > maximumPoolSize || (timed && timedOut)) in getTask()1049 && (wc > 1 || workQueue.isEmpty())) { in getTask()1580 int wc = workerCountOf(ctl.get()); in ensurePrestart() local1581 if (wc < corePoolSize) in ensurePrestart()[all …]
2266 int wc = w.config; in helpQuiescePool() local2269 if (wc >= 0 && (t = w.pop()) != null) { // run locals if LIFO in helpQuiescePool()