Searched refs:SBITS (Results 1 – 1 of 1) sorted by relevance
291 private static final long SBITS = ~RBITS; // note overlap with ABITS field in StampedLock509 return (((s = state) & WBIT) == 0L) ? (s & SBITS) : 0L; in tryOptimisticRead()526 return (stamp & SBITS) == (state & SBITS); in validate()557 if (((s = state) & SBITS) != (stamp & SBITS) || in unlockRead()582 while (((s = state) & SBITS) == (stamp & SBITS)) { in unlock()622 while (((s = state) & SBITS) == (stamp & SBITS)) { in tryConvertToWriteLock()658 while (((s = state) & SBITS) == (stamp & SBITS)) { in tryConvertToReadLock()699 if (((s = state) & SBITS) != (stamp & SBITS)) in tryConvertToOptimisticRead()721 return next & SBITS; in tryConvertToOptimisticRead()725 return next & SBITS; in tryConvertToOptimisticRead()