Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java288 private static final long RBITS = WBIT - 1L; field in StampedLock
289 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 ABITS
779 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()