Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicMarkableReference.java128 boolean newMark) { in weakCompareAndSet() argument
130 expectedMark, newMark); in weakCompareAndSet()
148 boolean newMark) { in compareAndSet() argument
154 newMark == current.mark) || 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()
183 public boolean attemptMark(V expectedReference, boolean newMark) { in attemptMark() argument
187 (newMark == current.mark || in attemptMark()
[all …]