Searched refs:compareAndSwapLong (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicLong.java26 // setup to use Unsafe.compareAndSwapLong for updates
32 * compareAndSwap for longs. While the Unsafe.compareAndSwapLong
120 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
136 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
H A DAtomicLongArray.java141 return unsafe.compareAndSwapLong(array, offset, expect, update);
H A DAtomicLongFieldUpdater.java294 return unsafe.compareAndSwapLong(obj, offset, expect, update);
299 return unsafe.compareAndSwapLong(obj, offset, expect, update);
/libcore/luni/src/main/java/java/util/concurrent/
H A DPhaser.java363 if (UNSAFE.compareAndSwapLong(this, stateOffset, s, s-=adjust)) {
376 UNSAFE.compareAndSwapLong(this, stateOffset, s, n);
381 UNSAFE.compareAndSwapLong(this, stateOffset,
417 else if (UNSAFE.compareAndSwapLong(this, stateOffset,
424 if (UNSAFE.compareAndSwapLong(this, stateOffset, s, next))
436 while (!UNSAFE.compareAndSwapLong
468 !UNSAFE.compareAndSwapLong
658 if (UNSAFE.compareAndSwapLong(this, stateOffset, s,
674 if (!UNSAFE.compareAndSwapLong(this, stateOffset, s, n))
790 if (UNSAFE.compareAndSwapLong(roo
[all...]
H A DForkJoinPool.java1297 if (U.compareAndSwapLong(this, CTL, c, nc)) {
1382 do {} while (!U.compareAndSwapLong(this, STEALCOUNT,
1401 do {} while (!U.compareAndSwapLong
1419 if (U.compareAndSwapLong(this, CTL, c, nc)) {
1590 do {} while (!U.compareAndSwapLong
1618 U.compareAndSwapLong(this, CTL, c, nc)) {
1693 if (!U.compareAndSwapLong(this, CTL, c, nc))
1730 do {} while (!U.compareAndSwapLong(this, STEALCOUNT,
1755 U.compareAndSwapLong(this, CTL, c, pc))
1780 U.compareAndSwapLong(thi
[all...]
H A DConcurrentHashMap.java1576 !U.compareAndSwapLong(this, BASECOUNT, b = baseCount, s = b + x)) {
1583 U.compareAndSwapLong(a, CELLVALUE, v = a.value, v + x))) {
3114 else if (U.compareAndSwapLong(a, CELLVALUE, v = a.value, v + x))
3155 else if (U.compareAndSwapLong(this, BASECOUNT, v = baseCount, v + x))
/libcore/libart/src/main/java/sun/misc/
H A DUnsafe.java131 public native boolean compareAndSwapLong(Object obj, long offset, method in class:Unsafe
/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DAbstractQueuedLongSynchronizer.java315 return unsafe.compareAndSwapLong(this, stateOffset, expect, update);

Completed in 2236 milliseconds