Searched refs:scanGuard (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinPool.java196 * (scanGuard) but the array is otherwise concurrently readable,
203 * variable scanGuard includes a mask for the nearest power of two
434 * replacements are protected by scanGuard, but the array is
602 * The index for the next created worker. Accessed under scanGuard.
610 * comparing scanGuard to value before the reads. The low 16 bits
616 volatile int scanGuard; field in class:ForkJoinPool
745 int g = scanGuard; // mask 0 avoids useless scans if only one active
773 if (scanGuard != g) // staleness check
835 int g = scanGuard, m = g & SMASK;
850 if (scanGuard !
[all...]
H A DForkJoinWorkerThread.java775 int m = pool.scanGuard & SMASK;
839 int m = pool.scanGuard & SMASK;

Completed in 33 milliseconds