Home
last modified time | relevance | path

Searched refs:accessMode (Results 1 – 3 of 3) sorted by relevance

/art/test/712-varhandle-invocations/src/
DVarHandleReflectiveTest.java38 for (VarHandle.AccessMode accessMode : VarHandle.AccessMode.values()) { in doTest()
40 VarHandle.class.getMethod(accessMode.methodName(), Object[].class); in doTest()
/art/runtime/mirror/
Dvar_handle.h98 bool IsAccessModeSupported(AccessMode accessMode) REQUIRES_SHARED(Locks::mutator_lock_) { in IsAccessModeSupported() argument
99 return (GetAccessModesBitMask() & (1u << static_cast<uint32_t>(accessMode))) != 0; in IsAccessModeSupported()
124 ObjPtr<MethodType> GetMethodTypeForAccessMode(Thread* self, AccessMode accessMode)
/art/test/710-varhandle-creation/src/
DMain.java255 private static void checkVarHandleAccessMode(VarHandle v, VarHandle.AccessMode accessMode, in checkVarHandleAccessMode() argument
257 boolean actualSupported = v.isAccessModeSupported(accessMode); in checkVarHandleAccessMode()
259 fail("isAccessModeSupported(" + accessMode + ") is " + in checkVarHandleAccessMode()
263 String actualAccessModeType = v.accessModeType(accessMode).toString(); in checkVarHandleAccessMode()
265 fail("accessModeType(" + accessMode + ") is " + in checkVarHandleAccessMode()
2058 private static void checkAccessMode(final VarHandle.AccessMode accessMode, in checkAccessMode() argument
2062 final String actualName = accessMode.toString(); in checkAccessMode()
2067 final String actualMethodName = accessMode.methodName(); in checkAccessMode()
2073 final int actualOrdinal = accessMode.ordinal(); in checkAccessMode()
2075 fail("AccessMode " + accessMode + " ordinal " + actualOrdinal + " != " + in checkAccessMode()
[all …]