Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java381 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() argument
899 int wc = workerCountOf(c); in addWorker() local
900 if (wc >= CAPACITY || in addWorker()
901 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()
1043 int wc = workerCountOf(c); in getTask() local
1046 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() local
1581 if (wc < corePoolSize) in ensurePrestart()
[all …]
DForkJoinPool.java2266 int wc = w.config; in helpQuiescePool() local
2269 if (wc >= 0 && (t = w.pop()) != null) { // run locals if LIFO in helpQuiescePool()