Searched refs:RBITS (Results 1 – 1 of 1) sorted by relevance
288 private static final long RBITS = WBIT - 1L; field in StampedLock289 private static final long RFULL = RBITS - 1L;290 private static final long ABITS = RBITS | WBIT;291 private static final long SBITS = ~RBITS; // note overlap with ABITS779 if ((readers = s & RBITS) >= RFULL) in getReadLockCount()799 return (state & RBITS) != 0L; in isReadLocked()964 if (U.compareAndSwapLong(this, STATE, s, s | RBITS)) { in tryIncReaderOverflow()985 if (U.compareAndSwapLong(this, STATE, s, s | RBITS)) { in tryDecReaderOverflow()