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.java129 boolean newMark) { in weakCompareAndSet() argument
131 expectedMark, newMark); in weakCompareAndSet()
149 boolean newMark) { in compareAndSet() argument
155 newMark == current.mark) || in compareAndSet()
156 casPair(current, Pair.of(newReference, newMark))); in compareAndSet()
165 public void set(V newReference, boolean newMark) { in set() argument
167 if (newReference != current.reference || newMark != current.mark) in set()
168 this.pair = Pair.of(newReference, newMark); in set()
184 public boolean attemptMark(V expectedReference, boolean newMark) { in attemptMark() argument
188 (newMark == current.mark || in attemptMark()
[all …]