Home
last modified time | relevance | path

Searched refs:setRelease (Results 1 – 25 of 54) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java164 VALUE.setRelease(this, (newValue ? 1 : 0)); in lazySet()
251 public final void setRelease(boolean newValue) { in setRelease() method in AtomicBoolean
252 VALUE.setRelease(this, newValue ? 1 : 0); in setRelease()
DAtomicLong.java141 VALUE.setRelease(this, newValue); in lazySet()
514 public final void setRelease(long newValue) { in setRelease() method in AtomicLong
517 VALUE.setRelease(this, newValue); in setRelease()
DAtomicInteger.java124 VALUE.setRelease(this, newValue); in lazySet()
499 public final void setRelease(int newValue) { in setRelease() method in AtomicInteger
502 VALUE.setRelease(this, newValue); in setRelease()
DAtomicReference.java109 VALUE.setRelease(this, newValue); in lazySet()
344 public final void setRelease(V newValue) { in setRelease() method in AtomicReference
345 VALUE.setRelease(this, newValue); in setRelease()
DAtomicLongArray.java118 AA.setRelease(array, i, newValue); in lazySet()
459 public final void setRelease(int i, long newValue) { in setRelease() method in AtomicLongArray
460 AA.setRelease(array, i, newValue); in setRelease()
DAtomicIntegerArray.java118 AA.setRelease(array, i, newValue); in lazySet()
459 public final void setRelease(int i, int newValue) { in setRelease() method in AtomicIntegerArray
460 AA.setRelease(array, i, newValue); in setRelease()
DAtomicReferenceArray.java124 AA.setRelease(array, i, newValue); in lazySet()
423 public final void setRelease(int i, E newValue) { in setRelease() method in AtomicReferenceArray
424 AA.setRelease(array, i, newValue); in setRelease()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAtomicLongTest.java124 val.setRelease(0); in testSetRelease()
126 val.setRelease(5); in testSetRelease()
128 val.setRelease(-1); in testSetRelease()
DAtomicIntegerTest.java124 val.setRelease(0); in testSetRelease()
126 val.setRelease(5); in testSetRelease()
128 val.setRelease(-1); in testSetRelease()
DAtomicBooleanTest.java145 val.setRelease(false); in testSetRelease()
147 val.setRelease(true); in testSetRelease()
149 val.setRelease(false); in testSetRelease()
/libcore/ojluni/src/main/java/java/util/concurrent/
DFutureTask.java175 STATE.setRelease(this, INTERRUPTED); in cancel()
231 STATE.setRelease(this, NORMAL); // final state in set()
249 STATE.setRelease(this, EXCEPTIONAL); // final state in setException()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
275 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
402 vh.setRelease(array, ci, VALUE_1); in testArrayUnsupported()
627 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
677 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
719 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
762 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
805 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
851 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
DVarHandleTestByteArrayAsChar.java234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
275 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
402 vh.setRelease(array, ci, VALUE_1); in testArrayUnsupported()
627 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
677 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
719 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
762 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
805 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
851 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
DVarHandleTestMethodTypeDouble.java310 vh.setRelease(null, 1.0d); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, 1.0d); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, 1.0d); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, 1.0d, Void.class); in testInstanceFieldWrongMethodType()
1049 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1053 vh.setRelease(); in testStaticFieldWrongMethodType()
1056 vh.setRelease(1.0d, Void.class); in testStaticFieldWrongMethodType()
1689 vh.setRelease(null, 0, 1.0d); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeFloat.java310 vh.setRelease(null, 1.0f); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, 1.0f); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, 1.0f); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, 1.0f, Void.class); in testInstanceFieldWrongMethodType()
1049 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1053 vh.setRelease(); in testStaticFieldWrongMethodType()
1056 vh.setRelease(1.0f, Void.class); in testStaticFieldWrongMethodType()
1689 vh.setRelease(null, 0, 1.0f); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeString.java310 vh.setRelease(null, "foo"); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, "foo"); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, "foo"); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, "foo", Void.class); in testInstanceFieldWrongMethodType()
927 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
931 vh.setRelease(); in testStaticFieldWrongMethodType()
934 vh.setRelease("foo", Void.class); in testStaticFieldWrongMethodType()
1481 vh.setRelease(null, 0, "foo"); in testArrayWrongMethodType()
[all …]
DVarHandleMethodReferenceTest.java68 r = vh::setRelease; in testMethodReferences()
DVarHandleTestMethodTypeBoolean.java310 vh.setRelease(null, true); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, true); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, true); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, true, Void.class); in testInstanceFieldWrongMethodType()
1231 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1235 vh.setRelease(); in testStaticFieldWrongMethodType()
1238 vh.setRelease(true, Void.class); in testStaticFieldWrongMethodType()
1997 vh.setRelease(null, 0, true); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeLong.java310 vh.setRelease(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType()
1353 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1357 vh.setRelease(); in testStaticFieldWrongMethodType()
1360 vh.setRelease(0x0123456789ABCDEFL, Void.class); in testStaticFieldWrongMethodType()
2205 vh.setRelease(null, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeInt.java310 vh.setRelease(null, 0x01234567); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, 0x01234567); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, 0x01234567); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType()
1353 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1357 vh.setRelease(); in testStaticFieldWrongMethodType()
1360 vh.setRelease(0x01234567, Void.class); in testStaticFieldWrongMethodType()
2205 vh.setRelease(null, 0, 0x01234567); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeByte.java310 vh.setRelease(null, (byte)0x01); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, (byte)0x01); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType()
1353 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1357 vh.setRelease(); in testStaticFieldWrongMethodType()
1360 vh.setRelease((byte)0x01, Void.class); in testStaticFieldWrongMethodType()
2205 vh.setRelease(null, 0, (byte)0x01); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeShort.java310 vh.setRelease(null, (short)0x0123); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, (short)0x0123); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType()
1353 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1357 vh.setRelease(); in testStaticFieldWrongMethodType()
1360 vh.setRelease((short)0x0123, Void.class); in testStaticFieldWrongMethodType()
2205 vh.setRelease(null, 0, (short)0x0123); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeChar.java310 vh.setRelease(null, '\u0123'); in testInstanceFieldWrongMethodType()
313 vh.setRelease(Void.class, '\u0123'); in testInstanceFieldWrongMethodType()
316 vh.setRelease(recv, Void.class); in testInstanceFieldWrongMethodType()
319 vh.setRelease(0, '\u0123'); in testInstanceFieldWrongMethodType()
323 vh.setRelease(); in testInstanceFieldWrongMethodType()
326 vh.setRelease(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType()
1353 vh.setRelease(Void.class); in testStaticFieldWrongMethodType()
1357 vh.setRelease(); in testStaticFieldWrongMethodType()
1360 vh.setRelease('\u0123', Void.class); in testStaticFieldWrongMethodType()
2205 vh.setRelease(null, 0, '\u0123'); in testArrayWrongMethodType()
[all …]
DVarHandleTestByteArrayAsFloat.java234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
318 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
445 vh.setRelease(array, ci, VALUE_1); in testArrayUnsupported()
629 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
723 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
808 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
895 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
981 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
1154 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
DVarHandleTestByteArrayAsDouble.java234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
318 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
445 vh.setRelease(array, ci, VALUE_1); in testArrayUnsupported()
629 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
723 vh.setRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
808 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
895 vh.setRelease(array, ci, VALUE_1); in testArrayMisalignedAccess()
981 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()
1154 vh.setRelease(array, i, VALUE_1); in testArrayReadWrite()

123