Searched refs:newReference (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicMarkableReference.java | 126 V newReference, in weakCompareAndSet() argument 129 return compareAndSet(expectedReference, newReference, in weakCompareAndSet() 146 V newReference, in compareAndSet() argument 153 ((newReference == current.reference && in compareAndSet() 155 casPair(current, Pair.of(newReference, newMark))); in compareAndSet() 164 public void set(V newReference, boolean newMark) { in set() argument 166 if (newReference != current.reference || newMark != current.mark) in set() 167 this.pair = Pair.of(newReference, newMark); in set()
|
D | AtomicStampedReference.java | 126 V newReference, in weakCompareAndSet() argument 129 return compareAndSet(expectedReference, newReference, in weakCompareAndSet() 146 V newReference, in compareAndSet() argument 153 ((newReference == current.reference && in compareAndSet() 155 casPair(current, Pair.of(newReference, newStamp))); in compareAndSet() 164 public void set(V newReference, int newStamp) { in set() argument 166 if (newReference != current.reference || newStamp != current.stamp) in set() 167 this.pair = Pair.of(newReference, newStamp); in set()
|