Home
last modified time | relevance | path

Searched refs:getAcquire (Results 1 – 25 of 49) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java240 public final boolean getAcquire() { in getAcquire() method in AtomicBoolean
241 return (int)VALUE.getAcquire(this) != 0; in getAcquire()
DAtomicLong.java501 public final long getAcquire() { in getAcquire() method in AtomicLong
504 return (long)VALUE.getAcquire(this); in getAcquire()
DAtomicInteger.java486 public final int getAcquire() { in getAcquire() method in AtomicInteger
489 return (int)VALUE.getAcquire(this); in getAcquire()
DAtomicReference.java333 public final V getAcquire() { in getAcquire() method in AtomicReference
334 return (V)VALUE.getAcquire(this); in getAcquire()
DAtomicLongArray.java447 public final long getAcquire(int i) { in getAcquire() method in AtomicLongArray
448 return (long)AA.getAcquire(array, i); in getAcquire()
DAtomicIntegerArray.java447 public final int getAcquire(int i) { in getAcquire() method in AtomicIntegerArray
448 return (int)AA.getAcquire(array, i); in getAcquire()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAtomicLongTest.java72 assertEquals(42, val.getAcquire()); in testGetAcquire()
74 assertEquals(0, val.getAcquire()); in testGetAcquire()
76 assertEquals(5, val.getAcquire()); in testGetAcquire()
DAtomicIntegerTest.java72 assertEquals(42, val.getAcquire()); in testGetAcquire()
74 assertEquals(0, val.getAcquire()); in testGetAcquire()
76 assertEquals(5, val.getAcquire()); in testGetAcquire()
DAtomicReferenceTest.java170 assertSame(currentValue, val.getAcquire()); in testGetAcquire()
171 assertEquals(42, val.getAcquire().intValue()); in testGetAcquire()
175 assertSame(currentValue, val.getAcquire()); in testGetAcquire()
176 assertEquals(0, val.getAcquire().intValue()); in testGetAcquire()
180 assertSame(currentValue, val.getAcquire()); in testGetAcquire()
181 assertEquals(5, val.getAcquire().intValue()); in testGetAcquire()
DAtomicBooleanTest.java93 assertEquals(true, val.getAcquire()); in testGetAcquire()
95 assertEquals(false, val.getAcquire()); in testGetAcquire()
97 assertEquals(true, val.getAcquire()); in testGetAcquire()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExchanger.java363 Node q = (Node)AA.getAcquire(a, j); in arenaExchange()
393 else if (AA.getAcquire(a, j) != p) in arenaExchange()
399 if (AA.getAcquire(a, j) == p) { in arenaExchange()
407 else if (AA.getAcquire(a, j) == p && in arenaExchange()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestMethodTypeDouble.java283 double x = (double) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 double x = (double) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 double x = (double) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 double x = (double) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 double x = (double) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1036 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1039 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1042 double x = (double) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeFloat.java283 float x = (float) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 float x = (float) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 float x = (float) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 float x = (float) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 float x = (float) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1036 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1039 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1042 float x = (float) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestByteArrayAsShort.java222 short x = (short) vh.getAcquire(array, ci); in testArrayNPE()
263 short x = (short) vh.getAcquire(array, ci); in testArrayNPE()
615 short x = (short) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
664 short x = (short) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
707 short x = (short) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
749 short x = (short) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
806 short x = (short) vh.getAcquire(array, i); in testArrayReadWrite()
852 short x = (short) vh.getAcquire(array, i); in testArrayReadWrite()
900 short x = (short) vh.getAcquire(array, i); in testArrayReadOnly()
DVarHandleTestByteArrayAsChar.java222 char x = (char) vh.getAcquire(array, ci); in testArrayNPE()
263 char x = (char) vh.getAcquire(array, ci); in testArrayNPE()
615 char x = (char) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
664 char x = (char) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
707 char x = (char) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
749 char x = (char) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
806 char x = (char) vh.getAcquire(array, i); in testArrayReadWrite()
852 char x = (char) vh.getAcquire(array, i); in testArrayReadWrite()
900 char x = (char) vh.getAcquire(array, i); in testArrayReadOnly()
DVarHandleTestMethodTypeString.java283 String x = (String) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 String x = (String) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 String x = (String) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 String x = (String) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 String x = (String) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
914 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
917 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
920 String x = (String) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeBoolean.java283 boolean x = (boolean) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 boolean x = (boolean) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 boolean x = (boolean) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 int x = (int) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 boolean x = (boolean) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 boolean x = (boolean) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1218 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1221 int x = (int) vh.getAcquire(); in testStaticFieldWrongMethodType()
1224 boolean x = (boolean) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleMethodReferenceTest.java67 r = vh::getAcquire; in testMethodReferences()
DVarHandleTestMethodTypeLong.java283 long x = (long) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 long x = (long) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 long x = (long) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 long x = (long) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 long x = (long) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1346 long x = (long) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeInt.java283 int x = (int) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 int x = (int) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 int x = (int) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 int x = (int) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 int x = (int) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1346 int x = (int) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeByte.java283 byte x = (byte) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 byte x = (byte) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 byte x = (byte) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 byte x = (byte) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 byte x = (byte) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1346 byte x = (byte) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeShort.java283 short x = (short) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 short x = (short) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 short x = (short) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 short x = (short) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 short x = (short) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1346 short x = (short) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeChar.java283 char x = (char) vh.getAcquire(null); in testInstanceFieldWrongMethodType()
286 char x = (char) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType()
289 char x = (char) vh.getAcquire(0); in testInstanceFieldWrongMethodType()
293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType()
300 char x = (char) vh.getAcquire(); in testInstanceFieldWrongMethodType()
303 char x = (char) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType()
1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType()
1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType()
1346 char x = (char) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestByteArrayAsFloat.java222 float x = (float) vh.getAcquire(array, ci); in testArrayNPE()
306 float x = (float) vh.getAcquire(array, ci); in testArrayNPE()
617 float x = (float) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
710 float x = (float) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
796 float x = (float) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
882 float x = (float) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
982 float x = (float) vh.getAcquire(array, i); in testArrayReadWrite()
1155 float x = (float) vh.getAcquire(array, i); in testArrayReadWrite()
1330 float x = (float) vh.getAcquire(array, i); in testArrayReadOnly()
DVarHandleTestByteArrayAsDouble.java222 double x = (double) vh.getAcquire(array, ci); in testArrayNPE()
306 double x = (double) vh.getAcquire(array, ci); in testArrayNPE()
617 double x = (double) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
710 double x = (double) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
796 double x = (double) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
882 double x = (double) vh.getAcquire(array, ci); in testArrayMisalignedAccess()
982 double x = (double) vh.getAcquire(array, i); in testArrayReadWrite()
1155 double x = (double) vh.getAcquire(array, i); in testArrayReadWrite()
1330 double x = (double) vh.getAcquire(array, i); in testArrayReadOnly()

12