Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java413 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() argument
933 int wc = workerCountOf(c); in addWorker() local
934 if (wc >= CAPACITY || in addWorker()
935 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()
1077 int wc = workerCountOf(c); in getTask() local
1080 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() local
1616 if (wc < corePoolSize) in ensurePrestart()
[all …]
DForkJoinPool.java2298 int wc = w.config; in helpQuiescePool() local
2301 if (wc >= 0 && (t = w.pop()) != null) { // run locals if LIFO in helpQuiescePool()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java91 private static int ctlOf(int rs, int wc) { in ctlOf() argument