Searched refs:ctl (Results 1 - 3 of 3) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ThreadPoolExecutor.java | 292 * The main pool control state, ctl, is an atomic integer packing 348 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0)); field in class:ThreadPoolExecutor 359 // Packing and unpacking ctl 365 * Bit field accessors that don't require unpacking ctl. 382 * Attempts to CAS-increment the workerCount field of ctl. 385 return ctl.compareAndSet(expect, expect + 1); 389 * Attempts to CAS-decrement the workerCount field of ctl. 392 return ctl.compareAndSet(expect, expect - 1); 396 * Decrements the workerCount field of ctl. This is called only on 401 do {} while (! compareAndDecrementWorkerCount(ctl [all...] |
H A D | ForkJoinPool.java | 231 * Field "ctl" contains 64 bits holding all the information needed 269 * field of ctl stores indices, not references. Access to the 293 * Treiber stack, headed by the "id" field of ctl, plus a 15bit 329 * alive so long as they see the ctl state changing. Similar 1135 * Field ctl is a long packed with: 1143 * the lower 32 bits of queue state, u = (int)(ctl >>> 32) and e = 1144 * (int)ctl. The ec field is never accessed alone, but always 1193 // masks and units for dealing with u = (int)(ctl >>> 32) 1201 // masks and units for dealing with e = (int)ctl 1221 volatile long ctl; // mai field in class:ForkJoinPool [all...] |
H A D | ForkJoinTask.java | 1012 if (p == null || p.tryCompensate(p.ctl))
|
Completed in 31 milliseconds