Searched refs:ctlOf (Results 1 – 1 of 1) sorted by relevance
339 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0));353 private static int ctlOf(int rs, int wc) { return rs | wc; } in ctlOf() method in ThreadPoolExecutor616 ctl.compareAndSet(c, ctlOf(targetState, workerCountOf(c)))) in advanceRunState()646 if (ctl.compareAndSet(c, ctlOf(TIDYING, 0))) { in tryTerminate()650 ctl.set(ctlOf(TERMINATED, 0)); in tryTerminate()