Home
last modified time | relevance | path

Searched refs:compareAndSwapObject (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DExchanger.java365 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()
DFutureTask.java258 !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()
DSynchronousQueue.java250 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()
DForkJoinPool.java907 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 …]
DConcurrentLinkedQueue.java197 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()
DConcurrentLinkedDeque.java308 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()
DLinkedTransferQueue.java459 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()
DCompletableFuture.java226 return U.compareAndSwapObject(this, RESULT, null, r); in internalComplete()
230 return U.compareAndSwapObject(this, STACK, cmp, val); in casStack()
237 return U.compareAndSwapObject(this, STACK, h, c); in tryPushStack()
257 return U.compareAndSwapObject(this, RESULT, null, in completeNull()
268 return U.compareAndSwapObject(this, RESULT, null, in completeValue()
283 return U.compareAndSwapObject(this, RESULT, null, in completeThrowable()
311 return U.compareAndSwapObject(this, RESULT, null, in completeThrowable()
341 return U.compareAndSwapObject(this, RESULT, null, in completeRelay()
DConcurrentSkipListMap.java404 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()
DConcurrentHashMap.java768 return U.compareAndSwapObject(tab, ((long)i << ASHIFT) + ABASE, c, v); in casTabAt()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java1049 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 …]
DAbstractQueuedSynchronizer.java524 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()
DAbstractQueuedLongSynchronizer.java1849 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/
DAtomicReference.java118 return U.compareAndSwapObject(this, VALUE, expect, update); in compareAndSet()
134 return U.compareAndSwapObject(this, VALUE, expect, update); in weakCompareAndSet()
DAtomicReferenceFieldUpdater.java423 return U.compareAndSwapObject(obj, offset, expect, update); in compareAndSet()
430 return U.compareAndSwapObject(obj, offset, expect, update); in weakCompareAndSet()
DAtomicMarkableReference.java205 return U.compareAndSwapObject(this, PAIR, cmp, val); in casPair()
DAtomicStampedReference.java205 return U.compareAndSwapObject(this, PAIR, cmp, val); in casPair()
DAtomicReferenceArray.java181 return U.compareAndSwapObject(array, offset, expect, update); in compareAndSetRaw()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java166 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/
DUnsafe.java74 public native boolean compareAndSwapObject( in compareAndSwapObject() method in Unsafe