/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 365 if (q != null && U.compareAndSwapObject(a, j, q, null)) { in arenaExchange() 375 if (U.compareAndSwapObject(a, j, null, p)) { in arenaExchange() 407 U.compareAndSwapObject(a, j, p, null)) { in arenaExchange() 460 if (U.compareAndSwapObject(this, SLOT, q, null)) { in slotExchange() 477 if (U.compareAndSwapObject(this, SLOT, null, p)) in slotExchange() 507 else if (U.compareAndSwapObject(this, SLOT, p, null)) { in slotExchange()
|
D | FutureTask.java | 258 !U.compareAndSwapObject(this, RUNNER, null, Thread.currentThread())) in run() 299 !U.compareAndSwapObject(this, RUNNER, null, Thread.currentThread())) in runAndReset() 366 if (U.compareAndSwapObject(this, WAITERS, q, null)) { in finishCompletion() 428 queued = U.compareAndSwapObject(this, WAITERS, in awaitDone() 478 else if (!U.compareAndSwapObject(this, WAITERS, q, s)) in removeWaiter()
|
D | SynchronousQueue.java | 250 U.compareAndSwapObject(this, NEXT, cmp, val); in casNext() 263 U.compareAndSwapObject(this, MATCH, null, s)) { in tryMatch() 278 U.compareAndSwapObject(this, MATCH, null, this); in tryCancel() 307 U.compareAndSwapObject(this, HEAD, h, nh); in casHead() 549 U.compareAndSwapObject(this, NEXT, cmp, val); in casNext() 554 U.compareAndSwapObject(this, ITEM, cmp, val); in casItem() 561 U.compareAndSwapObject(this, ITEM, cmp, this); in tryCancel() 617 U.compareAndSwapObject(this, HEAD, h, nh)) in advanceHead() 626 U.compareAndSwapObject(this, TAIL, t, nt); in advanceTail() 634 U.compareAndSwapObject(this, CLEANME, cmp, val); in casCleanMe()
|
D | ForkJoinPool.java | 907 U.compareAndSwapObject(oldA, offset, x, null)) in growArray() 927 U.compareAndSwapObject(a, offset, t, null)) { in pop() 948 U.compareAndSwapObject(a, offset, t, null)) { in pollAt() 970 if (U.compareAndSwapObject(a, offset, t, null)) { in poll() 1009 if (U.compareAndSwapObject(a, offset, task, null)) { in tryUnpush() 1073 U.compareAndSwapObject(a, offset, task, null)) { in trySharedUnpush() 1209 if (U.compareAndSwapObject(a, offset, t, null)) { in tryRemoveAndExec() 1215 removed = U.compareAndSwapObject(a, offset, t, in tryRemoveAndExec() 1225 if (U.compareAndSwapObject(a, offset, t, null)) { in tryRemoveAndExec() 1262 U.compareAndSwapObject(a, offset, in popCC() [all …]
|
D | ConcurrentLinkedQueue.java | 197 return U.compareAndSwapObject(node, ITEM, cmp, val); in casItem() 205 return U.compareAndSwapObject(node, NEXT, cmp, val); in casNext() 923 return U.compareAndSwapObject(this, TAIL, cmp, val); in casTail() 927 return U.compareAndSwapObject(this, HEAD, cmp, val); in casHead()
|
D | ConcurrentLinkedDeque.java | 308 return U.compareAndSwapObject(this, ITEM, cmp, val); in casItem() 316 return U.compareAndSwapObject(this, NEXT, cmp, val); in casNext() 324 return U.compareAndSwapObject(this, PREV, cmp, val); in casPrev() 1602 return U.compareAndSwapObject(this, HEAD, cmp, val); in casHead() 1606 return U.compareAndSwapObject(this, TAIL, cmp, val); in casTail()
|
D | LinkedTransferQueue.java | 459 return U.compareAndSwapObject(this, NEXT, cmp, val); in casNext() 464 return U.compareAndSwapObject(this, ITEM, cmp, val); in casItem() 570 return U.compareAndSwapObject(this, TAIL, cmp, val); in casTail() 574 return U.compareAndSwapObject(this, HEAD, cmp, val); in casHead()
|
D | ConcurrentSkipListMap.java | 404 return U.compareAndSwapObject(this, HEAD, cmp, val); in casHead() 447 return U.compareAndSwapObject(this, VALUE, cmp, val); in casValue() 454 return U.compareAndSwapObject(this, NEXT, cmp, val); in casNext() 580 return U.compareAndSwapObject(this, RIGHT, cmp, val); in casRight()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | StampedLock.java | 1049 if (U.compareAndSwapObject(this, WHEAD, null, hd)) in acquireWrite() 1056 else if (U.compareAndSwapObject(this, WTAIL, p, node)) { in acquireWrite() 1090 if (U.compareAndSwapObject(h, WCOWAIT, c, c.cowait) && in acquireWrite() 1173 if (U.compareAndSwapObject(this, WHEAD, null, hd)) in acquireRead() 1181 else if (U.compareAndSwapObject(this, WTAIL, p, node)) { in acquireRead() 1186 else if (!U.compareAndSwapObject(p, WCOWAIT, in acquireRead() 1193 U.compareAndSwapObject(h, WCOWAIT, c, c.cowait) && in acquireRead() 1257 if (U.compareAndSwapObject(node, WCOWAIT, in acquireRead() 1274 if (U.compareAndSwapObject(h, WCOWAIT, c, c.cowait) && in acquireRead() 1340 U.compareAndSwapObject(p, WCOWAIT, q, q.cowait); in cancelWaiter() [all …]
|
D | AbstractQueuedSynchronizer.java | 524 return U.compareAndSwapObject(this, NEXT, expect, update); in compareAndSetNext() 2321 if (U.compareAndSwapObject(this, HEAD, null, (h = new Node()))) in initializeSyncQueue() 2329 return U.compareAndSwapObject(this, TAIL, expect, update); in compareAndSetTail()
|
D | AbstractQueuedLongSynchronizer.java | 1849 if (U.compareAndSwapObject(this, HEAD, null, (h = new Node()))) in initializeSyncQueue() 1857 return U.compareAndSwapObject(this, TAIL, expect, update); in compareAndSetTail()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReference.java | 118 return U.compareAndSwapObject(this, VALUE, expect, update); in compareAndSet() 134 return U.compareAndSwapObject(this, VALUE, expect, update); in weakCompareAndSet()
|
D | AtomicReferenceFieldUpdater.java | 423 return U.compareAndSwapObject(obj, offset, expect, update); in compareAndSet() 430 return U.compareAndSwapObject(obj, offset, expect, update); in weakCompareAndSet()
|
D | AtomicMarkableReference.java | 205 return U.compareAndSwapObject(this, PAIR, cmp, val); in casPair()
|
D | AtomicStampedReference.java | 205 return U.compareAndSwapObject(this, PAIR, cmp, val); in casPair()
|
D | AtomicReferenceArray.java | 181 return U.compareAndSwapObject(array, offset, expect, update); in compareAndSetRaw()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 166 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject() method in Unsafe 541 } while (!compareAndSwapObject(o, offset, v, newValue)); in getAndSetObject()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 73 public native boolean compareAndSwapObject( in compareAndSwapObject() method in Unsafe
|