Home
last modified time | relevance | path

Searched refs:compareAndSwapInt (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DCountedCompleter.java539 return U.compareAndSwapInt(this, PENDING, expected, count); in compareAndSetPendingCount()
551 !U.compareAndSwapInt(this, PENDING, c, c - 1)); in decrementPendingCountUnlessZero()
584 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) in tryComplete()
607 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) in propagateCompletion()
652 else if (U.compareAndSwapInt(this, PENDING, c, c - 1)) in firstComplete()
DFutureTask.java167 U.compareAndSwapInt(this, STATE, NEW, in cancel()
231 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in set()
249 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in setException()
DForkJoinTask.java266 if (U.compareAndSwapInt(this, STATUS, s, s | completion)) { in setCompletion()
304 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in internalWait()
326 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in externalAwaitDone()
360 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in externalInterruptibleAwaitDone()
1038 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in get()
1332 if (U.compareAndSwapInt(this, STATUS, s = status, in setForkJoinTaskTag()
1356 if (U.compareAndSwapInt(this, STATUS, s, in compareAndSetForkJoinTaskTag()
DExchanger.java409 U.compareAndSwapInt(this, BOUND, b, b + SEQ - 1); in arenaExchange()
431 !U.compareAndSwapInt(this, BOUND, b, b + SEQ + 1)) { in arenaExchange()
470 U.compareAndSwapInt(this, BOUND, 0, SEQ)) in slotExchange()
DForkJoinPool.java1024 if (U.compareAndSwapInt(this, QLOCK, 0, 1)) { in sharedPush()
1071 U.compareAndSwapInt(this, QLOCK, 0, 1)) { in trySharedUnpush()
1260 if (U.compareAndSwapInt(this, QLOCK, 0, 1)) { in popCC()
2421 U.compareAndSwapInt(this, RUNSTATE, rs, rs | SHUTDOWN); in tryTerminate()
2444 do {} while (!U.compareAndSwapInt(this, RUNSTATE, in tryTerminate()
DPriorityBlockingQueue.java292 U.compareAndSwapInt(this, ALLOCATIONSPINLOCK, 0, 1)) { in tryGrow()
DLinkedTransferQueue.java578 return U.compareAndSwapInt(this, SWEEPVOTES, cmp, val); in casSweepVotes()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java100 return U.compareAndSwapInt(this, VALUE, in compareAndSet()
118 return U.compareAndSwapInt(this, VALUE, in weakCompareAndSet()
DAtomicInteger.java134 return U.compareAndSwapInt(this, VALUE, expect, update); in compareAndSet()
150 return U.compareAndSwapInt(this, VALUE, expect, update); in weakCompareAndSet()
DAtomicIntegerFieldUpdater.java480 return U.compareAndSwapInt(obj, offset, expect, update); in compareAndSet()
485 return U.compareAndSwapInt(obj, offset, expect, update); in weakCompareAndSet()
DAtomicIntegerArray.java169 return U.compareAndSwapInt(array, offset, expect, update); in compareAndSetRaw()
DStriped64.java186 return U.compareAndSwapInt(this, CELLSBUSY, 0, 1); in casCellsBusy()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java134 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt() method in Unsafe
461 } while (!compareAndSwapInt(o, offset, v, v + delta)); in getAndAddInt()
501 } while (!compareAndSwapInt(o, offset, v, newValue)); in getAndSetInt()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java65 public native boolean compareAndSwapInt( in compareAndSwapInt() method in Unsafe
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java1013 U.compareAndSwapInt(h, WSTATUS, WAITING, 0); in release()
1101 U.compareAndSwapInt(p, WSTATUS, 0, WAITING); in acquireWrite()
1285 U.compareAndSwapInt(p, WSTATUS, 0, WAITING); in acquireRead()
DAbstractQueuedSynchronizer.java519 return U.compareAndSwapInt(this, WAITSTATUS, expect, update); in compareAndSetWaitStatus()
597 return U.compareAndSwapInt(this, STATE, expect, update); in compareAndSetState()