Searched refs:newReference (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
H A DAtomicMarkableReference.java120 * @param newReference the new value for the reference
126 V newReference,
129 return compareAndSet(expectedReference, newReference,
140 * @param newReference the new value for the reference
146 V newReference,
153 ((newReference == current.reference &&
155 casPair(current, Pair.of(newReference, newMark)));
161 * @param newReference the new value for the reference
164 public void set(V newReference, boolean newMark) { argument
166 if (newReference !
125 weakCompareAndSet(V expectedReference, V newReference, boolean expectedMark, boolean newMark) argument
145 compareAndSet(V expectedReference, V newReference, boolean expectedMark, boolean newMark) argument
[all...]
H A DAtomicStampedReference.java120 * @param newReference the new value for the reference
126 V newReference,
129 return compareAndSet(expectedReference, newReference,
140 * @param newReference the new value for the reference
146 V newReference,
153 ((newReference == current.reference &&
155 casPair(current, Pair.of(newReference, newStamp)));
161 * @param newReference the new value for the reference
164 public void set(V newReference, int newStamp) { argument
166 if (newReference !
125 weakCompareAndSet(V expectedReference, V newReference, int expectedStamp, int newStamp) argument
145 compareAndSet(V expectedReference, V newReference, int expectedStamp, int newStamp) argument
[all...]

Completed in 33 milliseconds