Home
last modified time | relevance | path

Searched refs:setVolatile (Results 1 – 25 of 39) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
271 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
398 vh.setVolatile(array, ci, VALUE_1); in testArrayUnsupported()
623 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
673 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
715 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
758 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
798 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
844 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
DVarHandleTestByteArrayAsChar.java230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
271 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
398 vh.setVolatile(array, ci, VALUE_1); in testArrayUnsupported()
623 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
673 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
715 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
758 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
798 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
844 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
DVarHandleTestMethodTypeDouble.java210 vh.setVolatile(null, 1.0d); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, 1.0d); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, 1.0d); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, 1.0d, Void.class); in testInstanceFieldWrongMethodType()
995 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
999 vh.setVolatile(); in testStaticFieldWrongMethodType()
1002 vh.setVolatile(1.0d, Void.class); in testStaticFieldWrongMethodType()
1577 vh.setVolatile(null, 0, 1.0d); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeFloat.java210 vh.setVolatile(null, 1.0f); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, 1.0f); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, 1.0f); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, 1.0f, Void.class); in testInstanceFieldWrongMethodType()
995 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
999 vh.setVolatile(); in testStaticFieldWrongMethodType()
1002 vh.setVolatile(1.0f, Void.class); in testStaticFieldWrongMethodType()
1577 vh.setVolatile(null, 0, 1.0f); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeString.java210 vh.setVolatile(null, "foo"); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, "foo"); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, "foo"); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, "foo", Void.class); in testInstanceFieldWrongMethodType()
873 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
877 vh.setVolatile(); in testStaticFieldWrongMethodType()
880 vh.setVolatile("foo", Void.class); in testStaticFieldWrongMethodType()
1369 vh.setVolatile(null, 0, "foo"); in testArrayWrongMethodType()
[all …]
DVarHandleMethodReferenceTest.java64 r = vh::setVolatile; in testMethodReferences()
DVarHandleTestMethodTypeBoolean.java210 vh.setVolatile(null, true); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, true); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, true); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, true, Void.class); in testInstanceFieldWrongMethodType()
1177 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
1181 vh.setVolatile(); in testStaticFieldWrongMethodType()
1184 vh.setVolatile(true, Void.class); in testStaticFieldWrongMethodType()
1885 vh.setVolatile(null, 0, true); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeLong.java210 vh.setVolatile(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType()
1299 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
1303 vh.setVolatile(); in testStaticFieldWrongMethodType()
1306 vh.setVolatile(0x0123456789ABCDEFL, Void.class); in testStaticFieldWrongMethodType()
2093 vh.setVolatile(null, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeInt.java210 vh.setVolatile(null, 0x01234567); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, 0x01234567); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, 0x01234567); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType()
1299 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
1303 vh.setVolatile(); in testStaticFieldWrongMethodType()
1306 vh.setVolatile(0x01234567, Void.class); in testStaticFieldWrongMethodType()
2093 vh.setVolatile(null, 0, 0x01234567); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeByte.java210 vh.setVolatile(null, (byte)0x01); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, (byte)0x01); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType()
1299 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
1303 vh.setVolatile(); in testStaticFieldWrongMethodType()
1306 vh.setVolatile((byte)0x01, Void.class); in testStaticFieldWrongMethodType()
2093 vh.setVolatile(null, 0, (byte)0x01); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeShort.java210 vh.setVolatile(null, (short)0x0123); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, (short)0x0123); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType()
1299 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
1303 vh.setVolatile(); in testStaticFieldWrongMethodType()
1306 vh.setVolatile((short)0x0123, Void.class); in testStaticFieldWrongMethodType()
2093 vh.setVolatile(null, 0, (short)0x0123); in testArrayWrongMethodType()
[all …]
DVarHandleTestMethodTypeChar.java210 vh.setVolatile(null, '\u0123'); in testInstanceFieldWrongMethodType()
213 vh.setVolatile(Void.class, '\u0123'); in testInstanceFieldWrongMethodType()
216 vh.setVolatile(recv, Void.class); in testInstanceFieldWrongMethodType()
219 vh.setVolatile(0, '\u0123'); in testInstanceFieldWrongMethodType()
223 vh.setVolatile(); in testInstanceFieldWrongMethodType()
226 vh.setVolatile(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType()
1299 vh.setVolatile(Void.class); in testStaticFieldWrongMethodType()
1303 vh.setVolatile(); in testStaticFieldWrongMethodType()
1306 vh.setVolatile('\u0123', Void.class); in testStaticFieldWrongMethodType()
2093 vh.setVolatile(null, 0, '\u0123'); in testArrayWrongMethodType()
[all …]
DVarHandleTestByteArrayAsFloat.java230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
314 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
441 vh.setVolatile(array, ci, VALUE_1); in testArrayUnsupported()
625 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
719 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
804 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
891 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
974 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
1147 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
DVarHandleTestByteArrayAsDouble.java230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
314 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
441 vh.setVolatile(array, ci, VALUE_1); in testArrayUnsupported()
625 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
719 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
804 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
891 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
974 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
1147 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
DVarHandleTestAccessString.java275 vh.setVolatile(recv, "bar"); in testInstanceFinalFieldUnsupported()
370 vh.setVolatile("bar"); in testStaticFinalFieldUnsupported()
443 vh.setVolatile(recv, "bar"); in testInstanceField()
655 vh.setVolatile("bar"); in testStaticField()
870 vh.setVolatile(array, i, "bar"); in testArray()
1093 vh.setVolatile(array, ci, "foo"); in testArrayIndexOutOfBounds()
1172 vh.setVolatile(array, 0, value); in testArrayStoreException()
DVarHandleTestAccessDouble.java268 vh.setVolatile(recv, 2.0d); in testInstanceFinalFieldUnsupported()
352 vh.setVolatile(2.0d); in testStaticFinalFieldUnsupported()
414 vh.setVolatile(recv, 2.0d); in testInstanceField()
642 vh.setVolatile(2.0d); in testStaticField()
873 vh.setVolatile(array, i, 2.0d); in testArray()
1112 vh.setVolatile(array, ci, 1.0d); in testArrayIndexOutOfBounds()
DVarHandleTestAccessFloat.java268 vh.setVolatile(recv, 2.0f); in testInstanceFinalFieldUnsupported()
352 vh.setVolatile(2.0f); in testStaticFinalFieldUnsupported()
414 vh.setVolatile(recv, 2.0f); in testInstanceField()
642 vh.setVolatile(2.0f); in testStaticField()
873 vh.setVolatile(array, i, 2.0f); in testArray()
1112 vh.setVolatile(array, ci, 1.0f); in testArrayIndexOutOfBounds()
DVarHandleTestAccessBoolean.java268 vh.setVolatile(recv, false); in testInstanceFinalFieldUnsupported()
328 vh.setVolatile(false); in testStaticFinalFieldUnsupported()
366 vh.setVolatile(recv, false); in testInstanceField()
626 vh.setVolatile(false); in testStaticField()
889 vh.setVolatile(array, i, false); in testArray()
1160 vh.setVolatile(array, ci, true); in testArrayIndexOutOfBounds()
DVarHandleTestAccessByte.java268 vh.setVolatile(recv, (byte)0x23); in testInstanceFinalFieldUnsupported()
317 vh.setVolatile((byte)0x23); in testStaticFinalFieldUnsupported()
344 vh.setVolatile(recv, (byte)0x23); in testInstanceField()
620 vh.setVolatile((byte)0x23); in testStaticField()
899 vh.setVolatile(array, i, (byte)0x23); in testArray()
1186 vh.setVolatile(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
DVarHandleTestAccessInt.java268 vh.setVolatile(recv, 0x89ABCDEF); in testInstanceFinalFieldUnsupported()
317 vh.setVolatile(0x89ABCDEF); in testStaticFinalFieldUnsupported()
344 vh.setVolatile(recv, 0x89ABCDEF); in testInstanceField()
620 vh.setVolatile(0x89ABCDEF); in testStaticField()
899 vh.setVolatile(array, i, 0x89ABCDEF); in testArray()
1186 vh.setVolatile(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
DVarHandleTestAccessShort.java268 vh.setVolatile(recv, (short)0x4567); in testInstanceFinalFieldUnsupported()
317 vh.setVolatile((short)0x4567); in testStaticFinalFieldUnsupported()
344 vh.setVolatile(recv, (short)0x4567); in testInstanceField()
620 vh.setVolatile((short)0x4567); in testStaticField()
899 vh.setVolatile(array, i, (short)0x4567); in testArray()
1186 vh.setVolatile(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
DVarHandleTestAccessLong.java268 vh.setVolatile(recv, 0xCAFEBABECAFEBABEL); in testInstanceFinalFieldUnsupported()
317 vh.setVolatile(0xCAFEBABECAFEBABEL); in testStaticFinalFieldUnsupported()
344 vh.setVolatile(recv, 0xCAFEBABECAFEBABEL); in testInstanceField()
620 vh.setVolatile(0xCAFEBABECAFEBABEL); in testStaticField()
899 vh.setVolatile(array, i, 0xCAFEBABECAFEBABEL); in testArray()
1186 vh.setVolatile(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
DVarHandleTestAccessChar.java268 vh.setVolatile(recv, '\u4567'); in testInstanceFinalFieldUnsupported()
317 vh.setVolatile('\u4567'); in testStaticFinalFieldUnsupported()
344 vh.setVolatile(recv, '\u4567'); in testInstanceField()
620 vh.setVolatile('\u4567'); in testStaticField()
899 vh.setVolatile(array, i, '\u4567'); in testArray()
1186 vh.setVolatile(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
DVarHandleTestByteArrayAsLong.java230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
360 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
487 vh.setVolatile(array, ci, VALUE_1); in testArrayUnsupported()
625 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
765 vh.setVolatile(array, ci, VALUE_1); in testArrayIndexOutOfBounds()
896 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
1029 vh.setVolatile(array, ci, VALUE_1); in testArrayMisalignedAccess()
1158 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
1441 vh.setVolatile(array, i, VALUE_2); in testArrayReadWrite()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java132 VALUE.setVolatile(this, 0L); in reset()
135 VALUE.setVolatile(this, identity); in reset()

12