Searched refs:expectedReference (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicMarkableReference.java | 125 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() argument 129 return compareAndSet(expectedReference, newReference, in weakCompareAndSet() 145 public boolean compareAndSet(V expectedReference, in compareAndSet() argument 151 expectedReference == current.reference && in compareAndSet() 183 public boolean attemptMark(V expectedReference, boolean newMark) { in attemptMark() argument 186 expectedReference == current.reference && in attemptMark() 188 casPair(current, Pair.of(expectedReference, newMark))); in attemptMark()
|
D | AtomicStampedReference.java | 125 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() argument 129 return compareAndSet(expectedReference, newReference, in weakCompareAndSet() 145 public boolean compareAndSet(V expectedReference, in compareAndSet() argument 151 expectedReference == current.reference && in compareAndSet() 183 public boolean attemptStamp(V expectedReference, int newStamp) { in attemptStamp() argument 186 expectedReference == current.reference && in attemptStamp() 188 casPair(current, Pair.of(expectedReference, newStamp))); in attemptStamp()
|