Home
last modified time | relevance | path

Searched refs:RBITS (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
DStampedLock.java259 private static final long RBITS = WBIT - 1L; field in StampedLock
260 private static final long RFULL = RBITS - 1L;
261 private static final long ABITS = RBITS | WBIT;
262 private static final long SBITS = ~RBITS; // note overlap with ABITS
750 if ((readers = s & RBITS) >= RFULL) in getReadLockCount()
770 return (state & RBITS) != 0L; in isReadLocked()
935 if (U.compareAndSwapLong(this, STATE, s, s | RBITS)) { in tryIncReaderOverflow()
956 if (U.compareAndSwapLong(this, STATE, s, s | RBITS)) { in tryDecReaderOverflow()