Searched refs:ABITS (Results 1 – 1 of 1) sorted by relevance
320 private static final long ABITS = RBITS | WBIT; field in StampedLock429 if (((s = state) & ABITS) == 0L && casState(s, nextState = s | WBIT)) { in tryAcquireWrite()439 if ((m = (s = state) & ABITS) < RFULL) { in tryAcquireRead()475 long s = U.getLongOpaque(this, STATE) & ~ABITS, nextState; in writeLock()714 long a = stamp & ABITS, m, s, nextState; in tryConvertToWriteLock()716 if ((m = s & ABITS) == 0L) { in tryConvertToWriteLock()750 if ((a = stamp & ABITS) >= WBIT) { in tryConvertToReadLock()757 if ((s & ABITS) < RFULL) { in tryConvertToReadLock()763 if ((s & ABITS) == 0L) in tryConvertToReadLock()785 if ((a = stamp & ABITS) >= WBIT) { in tryConvertToOptimisticRead()[all …]