Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java349 U.compareAndSwapLong(this, STATE, s, next = s + WBIT)) ? in writeLock()
362 U.compareAndSwapLong(this, STATE, s, next = s + WBIT)) ? in tryWriteLock()
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()
541 U.putLongVolatile(this, STATE, (stamp += WBIT) == 0L ? ORIGIN : stamp); in unlockWrite()
561 if (U.compareAndSwapLong(this, STATE, s, s - RUNIT)) { in unlockRead()
588 U.putLongVolatile(this, STATE, (s += WBIT) == 0L ? ORIGIN : s); in unlock()
596 if (U.compareAndSwapLong(this, STATE, s, s - RUNIT)) { in unlock()
626 if (U.compareAndSwapLong(this, STATE, s, next = s + WBIT)) in tryConvertToWriteLock()
[all …]
DAbstractQueuedLongSynchronizer.java116 U.putLongVolatile(this, STATE, newState); in setState()
131 return U.compareAndSwapLong(this, STATE, expect, update); in compareAndSetState()
1823 private static final long STATE; field in AbstractQueuedLongSynchronizer
1829 STATE = U.objectFieldOffset
DAbstractQueuedSynchronizer.java597 return U.compareAndSwapInt(this, STATE, expect, update); in compareAndSetState()
2295 private static final long STATE; field in AbstractQueuedSynchronizer
2301 STATE = U.objectFieldOffset
/libcore/ojluni/src/main/java/java/util/concurrent/
DFutureTask.java167 U.compareAndSwapInt(this, STATE, NEW, in cancel()
177 U.putOrderedInt(this, STATE, INTERRUPTED); in cancel()
231 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in set()
233 U.putOrderedInt(this, STATE, NORMAL); // final state in set()
249 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in setException()
251 U.putOrderedInt(this, STATE, EXCEPTIONAL); // final state in setException()
488 private static final long STATE; field in FutureTask
493 STATE = U.objectFieldOffset
DPhaser.java391 if (U.compareAndSwapLong(this, STATE, s, s-=adjust)) { in doArrive()
404 U.compareAndSwapLong(this, STATE, s, n); in doArrive()
409 U.compareAndSwapLong(this, STATE, s, s | EMPTY); in doArrive()
444 else if (U.compareAndSwapLong(this, STATE, s, s + adjust)) in doRegister()
450 if (U.compareAndSwapLong(this, STATE, s, next)) in doRegister()
463 (this, STATE, s, in doRegister()
495 (this, STATE, s, in reconcileState()
684 if (U.compareAndSwapLong(this, STATE, s, s -= ONE_ARRIVAL)) { in arriveAndAwaitAdvance()
699 if (!U.compareAndSwapLong(this, STATE, s, n)) in arriveAndAwaitAdvance()
815 if (U.compareAndSwapLong(root, STATE, s, s | TERMINATION_BIT)) { in forceTermination()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java134 private static final long STATE; field in FutureTask
137 STATE = 0;