Searched refs:ctl (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadPoolExecutor.java291 * The main pool control state, ctl, is an atomic integer packing
347 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0)); field in class:ThreadPoolExecutor
358 // Packing and unpacking ctl
364 * Bit field accessors that don't require unpacking ctl.
381 * Attempts to CAS-increment the workerCount field of ctl.
384 return ctl.compareAndSet(expect, expect + 1);
388 * Attempts to CAS-decrement the workerCount field of ctl.
391 return ctl.compareAndSet(expect, expect - 1);
395 * Decrements the workerCount field of ctl. This is called only on
400 do {} while (! compareAndDecrementWorkerCount(ctl
[all...]
H A DForkJoinPool.java239 * Field "ctl" contains 64 bits holding all the information needed
277 * field of ctl stores indices, not references. Access to the
301 * Treiber stack, headed by the "id" field of ctl, plus a 15bit
337 * alive so long as they see the ctl state changing. Similar
1142 * Field ctl is a long packed with:
1150 * the lower 32 bits of queue state, u = (int)(ctl >>> 32) and e =
1151 * (int)ctl. The ec field is never accessed alone, but always
1200 // masks and units for dealing with u = (int)(ctl >>> 32)
1208 // masks and units for dealing with e = (int)ctl
1228 volatile long ctl; // mai field in class:ForkJoinPool
[all...]
H A DForkJoinTask.java1016 if (p == null || p.tryCompensate(p.ctl))

Completed in 45 milliseconds