Searched refs:NCPU (Results 1 – 4 of 4) sorted by relevance
271 private static final int NCPU = Runtime.getRuntime().availableProcessors(); field in Exchanger278 static final int FULL = (NCPU >= (MMASK << 1)) ? MMASK : NCPU >>> 1;470 if (NCPU > 1 && bound == 0 && in slotExchange()487 int spins = (NCPU > 1) ? SPINS : 1; in slotExchange()
1006 private static final int NCPU = Runtime.getRuntime().availableProcessors(); field in Phaser1019 static final int SPINS_PER_ARRIVAL = (NCPU < 2) ? 1 : 1 << 8;1042 (lastUnarrived = unarrived) < NCPU) in internalAwaitAdvance()
597 static final int NCPU = Runtime.getRuntime().availableProcessors(); field in ConcurrentHashMap2431 if ((stride = (NCPU > 1) ? (n >>> 3) / NCPU : n) < MIN_TRANSFER_STRIDE) in transfer()2627 else if (counterCells != cs || n >= NCPU) in fullAddCount()
154 static final int NCPU = Runtime.getRuntime().availableProcessors(); field in Striped64265 else if (n >= NCPU || cells != cs) in longAccumulate()346 else if (n >= NCPU || cells != cs) in doubleAccumulate()