/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() 561 if (U.compareAndSwapLong(this, STATE, s, s - RUNIT)) { in unlockRead() 596 if (U.compareAndSwapLong(this, STATE, s, s - RUNIT)) { in unlock() 626 if (U.compareAndSwapLong(this, STATE, s, next = s + WBIT)) in tryConvertToWriteLock() 635 if (U.compareAndSwapLong(this, STATE, s, in tryConvertToWriteLock() 663 if (U.compareAndSwapLong(this, STATE, s, next = s + RUNIT)) in tryConvertToReadLock() [all …]
|
D | AbstractQueuedLongSynchronizer.java | 131 return U.compareAndSwapLong(this, STATE, expect, update); in compareAndSetState()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
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() 462 while (!U.compareAndSwapLong in doRegister() 494 !U.compareAndSwapLong 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()
|
D | ForkJoinPool.java | 1574 if (ctl == c && U.compareAndSwapLong(this, CTL, c, nc)) { in tryAddWorker() 1657 do {} while (!U.compareAndSwapLong in deregisterWorker() 1714 if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { in signalWork() 1738 if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { in tryRelease() 1766 U.compareAndSwapLong(this, CTL, c, nc)) { in tryReactivate() 1787 } while (!U.compareAndSwapLong(this, CTL, c, nc)); in inactivate() 1858 U.compareAndSwapLong(this, CTL, c, nc)) { in timedAwaitWork() 1889 dropped = U.compareAndSwapLong(this, CTL, c, nc); in tryDropSpare() 1906 if (U.compareAndSwapLong(this, CTL, c, nc)) { in tryDropSpare() 2202 canBlock = U.compareAndSwapLong(this, CTL, c, nc); in tryCompensate() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLong.java | 150 return U.compareAndSwapLong(this, VALUE, expect, update); in compareAndSet() 166 return U.compareAndSwapLong(this, VALUE, expect, update); in weakCompareAndSet()
|
D | Striped64.java | 128 return U.compareAndSwapLong(this, VALUE, cmp, val); in cas() 179 return U.compareAndSwapLong(this, BASE, cmp, val); in casBase()
|
D | AtomicLongFieldUpdater.java | 455 return U.compareAndSwapLong(obj, offset, expect, update); in compareAndSet() 460 return U.compareAndSwapLong(obj, offset, expect, update); in weakCompareAndSet()
|
D | AtomicLongArray.java | 168 return U.compareAndSwapLong(array, offset, expect, update); in compareAndSetRaw()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 150 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong() method in Unsafe 481 } while (!compareAndSwapLong(o, offset, v, v + delta)); in getAndAddLong() 521 } while (!compareAndSwapLong(o, offset, v, newValue)); in getAndSetLong()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 69 public native boolean compareAndSwapLong( in compareAndSwapLong() method in Unsafe
|