Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java410 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() argument
928 int wc = workerCountOf(c); in addWorker() local
929 if (wc >= CAPACITY || in addWorker()
930 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()
1072 int wc = workerCountOf(c); in getTask() local
1075 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() local
1610 if (wc < corePoolSize) in ensurePrestart()
[all …]
DForkJoinPool.java2295 int wc = w.config; in helpQuiescePool() local
2298 if (wc >= 0 && (t = w.pop()) != null) { // run locals if LIFO in helpQuiescePool()