Searched refs:newStamp (Results 1 – 1 of 1) sorted by relevance
99 int newStamp) { in weakCompareAndSet() argument101 expectedStamp, newStamp); in weakCompareAndSet()119 int newStamp) { in compareAndSet() argument125 newStamp == current.stamp) || in compareAndSet()126 casPair(current, Pair.of(newReference, newStamp))); in compareAndSet()135 public void set(V newReference, int newStamp) { in set() argument137 if (newReference != current.reference || newStamp != current.stamp) in set()138 this.pair = Pair.of(newReference, newStamp); in set()154 public boolean attemptStamp(V expectedReference, int newStamp) { in attemptStamp() argument158 (newStamp == current.stamp || in attemptStamp()[all …]