Searched refs:AtomicStampedReference (Results 1 – 2 of 2) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicStampedReferenceTest.java | 12 import java.util.concurrent.atomic.AtomicStampedReference; 20 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testConstructor() 23 AtomicStampedReference a2 = new AtomicStampedReference(null, 1); in testConstructor() 33 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testGetSet() 55 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testAttemptStamp() 69 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSet() 92 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSetInMultipleThreads() 112 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSetInMultipleThreads2() 133 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testWeakCompareAndSet()
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicStampedReference.java | 21 public class AtomicStampedReference<V> { class 44 public AtomicStampedReference(V initialRef, int initialStamp) { in AtomicStampedReference() method in AtomicStampedReference 166 objectFieldOffset(UNSAFE, "pair", AtomicStampedReference.class);
|