Searched refs:SBITS (Results 1 – 1 of 1) sorted by relevance
321 private static final long SBITS = ~RBITS; // note overlap with ABITS field in StampedLock623 return (((s = state) & WBIT) == 0L) ? (s & SBITS) : 0L; in tryOptimisticRead()640 return (stamp & SBITS) == (state & SBITS); in validate()670 while (((s = state) & SBITS) == (stamp & SBITS) && in unlockRead()715 while (((s = state) & SBITS) == (stamp & SBITS)) { in tryConvertToWriteLock()749 while (((s = state) & SBITS) == (stamp & SBITS)) { in tryConvertToReadLock()784 while (((s = state) & SBITS) == (stamp & SBITS)) { in tryConvertToOptimisticRead()797 return nextState & SBITS; in tryConvertToOptimisticRead()800 return nextState & SBITS; in tryConvertToOptimisticRead()