Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicReferenceArrayTest.java12 import java.util.concurrent.atomic.AtomicReferenceArray;
32 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(SIZE); in testConstructor()
44 new AtomicReferenceArray<Integer>(a); in testConstructor2NPE()
54 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(a); in testConstructor2()
65 AtomicReferenceArray<Number> aa = new AtomicReferenceArray<Number>(a); in testConstructorSubClassArray()
79 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(SIZE); in testIndexing()
108 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE); in testGetSet()
123 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE); in testGetLazySet()
138 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE); in testCompareAndSet()
156 final AtomicReferenceArray a = new AtomicReferenceArray(1); in testCompareAndSetInMultipleThreads()
[all …]
DAtomic8Test.java17 import java.util.concurrent.atomic.AtomicReferenceArray;
299 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<Integer>(1); in testReferenceArrayGetAndUpdate()
311 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<Integer>(1); in testReferenceArrayUpdateAndGet()
322 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<Integer>(1); in testReferenceArrayGetAndAccumulate()
334 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<Integer>(1); in testReferenceArrayAccumulateAndGet()
507 () -> new AtomicReferenceArray(1).getAndUpdate(0, null), in testGetAndUpdateNPE()
528 () -> new AtomicReferenceArray(1).updateAndGet(0, null), in testUpdateAndGetNPE()
547 () -> new AtomicReferenceArray(1).getAndAccumulate(0, one, null), in testGetAndAccumulateNPE()
566 () -> new AtomicReferenceArray(1).accumulateAndGet(0, one, null), in testAccumulateAndGetNPE()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicReferenceArrayTest.java38 import java.util.concurrent.atomic.AtomicReferenceArray;
55 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<>(SIZE); in testConstructor()
67 new AtomicReferenceArray<Integer>(a); in testConstructor2NPE()
77 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<>(a); in testConstructor2()
88 AtomicReferenceArray<Number> aa = new AtomicReferenceArray<Number>(a); in testConstructorSubClassArray()
102 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<>(SIZE); in testIndexing()
131 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE); in testGetSet()
146 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE); in testGetLazySet()
161 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE); in testCompareAndSet()
179 final AtomicReferenceArray a = new AtomicReferenceArray(1); in testCompareAndSetInMultipleThreads()
[all …]
DAtomic8Test.java43 import java.util.concurrent.atomic.AtomicReferenceArray;
320 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<>(1); in testReferenceArrayGetAndUpdate()
332 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<>(1); in testReferenceArrayUpdateAndGet()
343 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<>(1); in testReferenceArrayGetAndAccumulate()
355 AtomicReferenceArray<Integer> a = new AtomicReferenceArray<>(1); in testReferenceArrayAccumulateAndGet()
528 () -> new AtomicReferenceArray(1).getAndUpdate(0, null), in testGetAndUpdateNPE()
546 () -> new AtomicReferenceArray(1).updateAndGet(0, null), in testUpdateAndGetNPE()
565 () -> new AtomicReferenceArray(1).getAndAccumulate(0, one, null), in testGetAndAccumulateNPE()
584 () -> new AtomicReferenceArray(1).accumulateAndGet(0, one, null), in testAccumulateAndGetNPE()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAtomicReferenceArrayTest.java23 import java.util.concurrent.atomic.AtomicReferenceArray;
31 private void checkArrayAsExpected(Integer[] expected, AtomicReferenceArray<Integer> actual) { in checkArrayAsExpected()
46 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testCompareAndExchange()
82 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testCompareAndExchangeAcquire()
118 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testCompareAndExchangeRelease()
154 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testGetAcquire()
170 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testGetOpaque()
186 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testGetPlain()
202 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testSetOpaque()
228 AtomicReferenceArray<Integer> arr = new AtomicReferenceArray(expectedArray); in testSetPlain()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceArray.java54 public class AtomicReferenceArray<E> implements java.io.Serializable { class
67 public AtomicReferenceArray(int length) { in AtomicReferenceArray() method in AtomicReferenceArray
78 public AtomicReferenceArray(E[] array) { in AtomicReferenceArray() method in AtomicReferenceArray
337 Field f = AtomicReferenceArray.class in readObject()
/libcore/
Dopenjdk_java_files.bp1040 "ojluni/src/main/java/java/util/concurrent/atomic/AtomicReferenceArray.java",
DEXPECTED_UPSTREAM1091 …current/atomic/AtomicReferenceArray.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/uti…
/libcore/api/
Dcurrent.txt16721 public class AtomicReferenceArray<E> implements java.io.Serializable {
16722 ctor public AtomicReferenceArray(int);
16723 ctor public AtomicReferenceArray(E[]);