/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CountedCompleter.java | 539 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()
|
D | FutureTask.java | 167 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()
|
D | ForkJoinTask.java | 266 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()
|
D | Exchanger.java | 409 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()
|
D | ForkJoinPool.java | 1024 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()
|
D | PriorityBlockingQueue.java | 292 U.compareAndSwapInt(this, ALLOCATIONSPINLOCK, 0, 1)) { in tryGrow()
|
D | LinkedTransferQueue.java | 578 return U.compareAndSwapInt(this, SWEEPVOTES, cmp, val); in casSweepVotes()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicBoolean.java | 100 return U.compareAndSwapInt(this, VALUE, in compareAndSet() 118 return U.compareAndSwapInt(this, VALUE, in weakCompareAndSet()
|
D | AtomicInteger.java | 134 return U.compareAndSwapInt(this, VALUE, expect, update); in compareAndSet() 150 return U.compareAndSwapInt(this, VALUE, expect, update); in weakCompareAndSet()
|
D | AtomicIntegerFieldUpdater.java | 480 return U.compareAndSwapInt(obj, offset, expect, update); in compareAndSet() 485 return U.compareAndSwapInt(obj, offset, expect, update); in weakCompareAndSet()
|
D | AtomicIntegerArray.java | 169 return U.compareAndSwapInt(array, offset, expect, update); in compareAndSetRaw()
|
D | Striped64.java | 186 return U.compareAndSwapInt(this, CELLSBUSY, 0, 1); in casCellsBusy()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 134 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/ |
D | Unsafe.java | 65 public native boolean compareAndSwapInt( in compareAndSwapInt() method in Unsafe
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | StampedLock.java | 1013 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()
|
D | AbstractQueuedSynchronizer.java | 519 return U.compareAndSwapInt(this, WAITSTATUS, expect, update); in compareAndSetWaitStatus() 597 return U.compareAndSwapInt(this, STATE, expect, update); in compareAndSetState()
|