Home
last modified time | relevance | path

Searched refs:compareAndSwapLong (Results 1 – 10 of 10) 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()
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 …]
DAbstractQueuedLongSynchronizer.java131 return U.compareAndSwapLong(this, STATE, expect, update); in compareAndSetState()
/libcore/ojluni/src/main/java/java/util/concurrent/
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()
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()
DForkJoinPool.java1574 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/
DAtomicLong.java150 return U.compareAndSwapLong(this, VALUE, expect, update); in compareAndSet()
166 return U.compareAndSwapLong(this, VALUE, expect, update); in weakCompareAndSet()
DStriped64.java128 return U.compareAndSwapLong(this, VALUE, cmp, val); in cas()
179 return U.compareAndSwapLong(this, BASE, cmp, val); in casBase()
DAtomicLongFieldUpdater.java455 return U.compareAndSwapLong(obj, offset, expect, update); in compareAndSet()
460 return U.compareAndSwapLong(obj, offset, expect, update); in weakCompareAndSet()
DAtomicLongArray.java168 return U.compareAndSwapLong(array, offset, expect, update); in compareAndSetRaw()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java150 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/
DUnsafe.java69 public native boolean compareAndSwapLong( in compareAndSwapLong() method in Unsafe