/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | StampedLock.java | 349 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 …]
|
D | AbstractQueuedLongSynchronizer.java | 116 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
|
D | AbstractQueuedSynchronizer.java | 597 return U.compareAndSwapInt(this, STATE, expect, update); in compareAndSetState() 2287 private static final long STATE; field in AbstractQueuedSynchronizer 2293 STATE = U.objectFieldOffset
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | FutureTask.java | 167 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
|
D | Phaser.java | 391 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 …]
|