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

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinPool.java608 * when SG_UNIT is set. Unlocking clears bit by adding
609 * SG_UNIT. Staleness of read-only operations can be checked by
618 private static final int SG_UNIT = 1 << 16; field in class:ForkJoinPool
1165 if (((g = scanGuard) & SG_UNIT) == 0 &&
1167 g, g | SG_UNIT)) {
1181 g = (k > m) ? ((m << 1) + 1) & SMASK : g + (SG_UNIT<<1);
1215 if (steps == 0 && ((g = scanGuard) & SG_UNIT) == 0 &&
1217 g, g |= SG_UNIT)) {
1223 scanGuard = g + SG_UNIT;

Completed in 33 milliseconds