Searched refs:MAX_HEAD_SPINS (Results 1 – 1 of 1) sorted by relevance
277 private static final int MAX_HEAD_SPINS = (NCPU > 1) ? 1 << 16 : 0; field in StampedLock1068 else if (spins < MAX_HEAD_SPINS) in acquireWrite()1246 else if (spins < MAX_HEAD_SPINS) in acquireRead()