Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java286 private static final long RUNIT = 1L; field in StampedLock
423 U.compareAndSwapLong(this, STATE, s, next = s + RUNIT)) ? in readLock()
439 if (U.compareAndSwapLong(this, STATE, s, next = s + RUNIT)) in tryReadLock()
467 if (U.compareAndSwapLong(this, STATE, s, next = s + RUNIT)) in tryReadLock()
561 if (U.compareAndSwapLong(this, STATE, s, s - RUNIT)) { in unlockRead()
562 if (m == RUNIT && (h = whead) != null && h.status != 0) in unlockRead()
596 if (U.compareAndSwapLong(this, STATE, s, s - RUNIT)) { in unlock()
597 if (m == RUNIT && (h = whead) != null && h.status != 0) in unlock()
634 else if (m == RUNIT && a != 0L) { in tryConvertToWriteLock()
636 next = s - RUNIT + WBIT)) in tryConvertToWriteLock()
[all …]