/art/test/710-varhandle-creation/src/ |
D | Main.java | 19 import java.lang.invoke.VarHandle.AccessMode; 255 private static void checkVarHandleAccessMode(VarHandle v, VarHandle.AccessMode accessMode, in checkVarHandleAccessMode() 277 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET, true, "(Main)boolean"); in checkInstantiatedVarHandles() 278 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET, true, "(Main,boolean)void"); in checkInstantiatedVarHandles() 279 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET_VOLATILE, true, "(Main)boolean"); in checkInstantiatedVarHandles() 280 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET_VOLATILE, true, "(Main,boolean)void"); in checkInstantiatedVarHandles() 281 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET_ACQUIRE, true, "(Main)boolean"); in checkInstantiatedVarHandles() 282 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET_RELEASE, true, "(Main,boolean)void"); in checkInstantiatedVarHandles() 283 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET_OPAQUE, true, "(Main)boolean"); in checkInstantiatedVarHandles() 284 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET_OPAQUE, true, "(Main,boolean)void"); in checkInstantiatedVarHandles() [all …]
|
/art/runtime/mirror/ |
D | var_handle_test.cc | 127 static int32_t AccessModesBitMask(VarHandle::AccessMode mode) { in AccessModesBitMask() 132 static int32_t AccessModesBitMask(VarHandle::AccessMode first, Args... args) { in AccessModesBitMask() 233 VarHandle::AccessMode access_mode, in AccessModeMatch() 242 VarHandle::AccessMode access_mode, in AccessModeExactMatch() 254 VarHandle::AccessMode access_mode, in AccessModeWithConversionsMatch() 266 VarHandle::AccessMode access_mode, in AccessModeNoMatch() 282 int32_t mask = AccessModesBitMask(VarHandle::AccessMode::kGet, in TEST_F() 283 VarHandle::AccessMode::kGetAndSet, in TEST_F() 284 VarHandle::AccessMode::kGetAndBitwiseXor); in TEST_F() 291 EXPECT_TRUE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kGet)); in TEST_F() [all …]
|
D | var_handle.cc | 44 VarHandle::AccessMode access_mode; 62 { "compareAndExchange", VarHandle::AccessMode::kCompareAndExchange }, 63 { "compareAndExchangeAcquire", VarHandle::AccessMode::kCompareAndExchangeAcquire }, 64 { "compareAndExchangeRelease", VarHandle::AccessMode::kCompareAndExchangeRelease }, 65 { "compareAndSet", VarHandle::AccessMode::kCompareAndSet }, 66 { "get", VarHandle::AccessMode::kGet }, 67 { "getAcquire", VarHandle::AccessMode::kGetAcquire }, 68 { "getAndAdd", VarHandle::AccessMode::kGetAndAdd }, 69 { "getAndAddAcquire", VarHandle::AccessMode::kGetAndAddAcquire }, 70 { "getAndAddRelease", VarHandle::AccessMode::kGetAndAddRelease }, [all …]
|
D | var_handle.h | 70 enum class AccessMode : uint32_t { enum 104 constexpr static size_t kNumberOfAccessModes = static_cast<size_t>(AccessMode::kLast) + 1u; 116 bool IsAccessModeSupported(AccessMode accessMode) REQUIRES_SHARED(Locks::mutator_lock_) { in IsAccessModeSupported() 128 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type) 135 ObjPtr<MethodType> GetMethodTypeForAccessMode(Thread* self, AccessMode accessMode) 140 std::string PrettyDescriptorForAccessMode(AccessMode access_mode) 143 bool Access(AccessMode access_mode, 157 static AccessMode GetAccessModeByIntrinsic(Intrinsics ordinal); 161 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode); 164 static AccessModeTemplate GetAccessModeTemplate(AccessMode access_mode); [all …]
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleReflectiveTest.java | 38 for (VarHandle.AccessMode accessMode : VarHandle.AccessMode.values()) { in doTest()
|
D | VarHandleAccessorExceptionTests.java | 58 vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_BITWISE_AND); in doTest() 208 boolean supported = vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_BITWISE_AND); in doTest()
|
/art/runtime/ |
D | var_handles.cc | 34 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessorWithConversions() 65 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessor()
|
D | var_handles.h | 28 const mirror::VarHandle::AccessMode access_mode,
|
D | method_handles.cc | 986 mirror::VarHandle::AccessMode access_mode, in DoVarHandleInvokeTranslationUnchecked() 1062 mirror::VarHandle::AccessMode access_mode = in DoVarHandleInvokeTranslation()
|
/art/test/713-varhandle-invokers/src/ |
D | Main.java | 87 VarHandle.AccessMode.GET_AND_SET, in run() 191 VarHandle.AccessMode.GET_AND_SET, in run() 317 VarHandle.AccessMode.COMPARE_AND_EXCHANGE, in run() 391 VarHandle.AccessMode.COMPARE_AND_EXCHANGE, in run()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2631 …Handles;->methodHandleForVarHandleAccessor(Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lang/invok… 2634 Ljava/lang/invoke/MethodHandles;->varHandleExactInvoker(Ljava/lang/invoke/VarHandle$AccessMode;Ljav… 2635 Ljava/lang/invoke/MethodHandles;->varHandleInvoker(Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lan… 2890 Ljava/lang/invoke/VarHandle$AccessMode;->at:Ljava/lang/invoke/VarHandle$AccessType; 2891 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_EXCHANGE:Ljava/lang/invoke/VarHandle$AccessMod… 2892 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_EXCHANGE_ACQUIRE:Ljava/lang/invoke/VarHandle$A… 2893 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_EXCHANGE_RELEASE:Ljava/lang/invoke/VarHandle$A… 2894 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_SET:Ljava/lang/invoke/VarHandle$AccessMode; 2895 Ljava/lang/invoke/VarHandle$AccessMode;->GET:Ljava/lang/invoke/VarHandle$AccessMode; 2896 Ljava/lang/invoke/VarHandle$AccessMode;->GET_ACQUIRE:Ljava/lang/invoke/VarHandle$AccessMode; [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 463 mirror::VarHandle::AccessMode access_mode) in DoVarHandleInvokeCommon() 516 const auto access_mode = mirror::VarHandle::AccessMode::k ## _access_mode; \
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2511 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic()
|
/art/build/boot/ |
D | preloaded-classes | 720 java.lang.invoke.VarHandle$AccessMode 945 java.nio.file.AccessMode
|
D | boot-image-profile.txt | 3824 HSPLjava/nio/file/AccessMode;->values()[Ljava/nio/file/AccessMode; 3832 HSPLjava/nio/file/Files;->isAccessible(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)Z 8900 HSPLsun/nio/fs/UnixFileSystemProvider;->checkAccess(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;… 10376 Ljava/lang/invoke/VarHandle$AccessMode; 10603 Ljava/nio/file/AccessMode; 12259 [Ljava/lang/invoke/VarHandle$AccessMode; 12278 [Ljava/nio/file/AccessMode;
|
/art/compiler/optimizing/ |
D | intrinsics_x86.cc | 3373 mirror::VarHandle::AccessMode access_mode, in GenerateVarHandleAccessModeCheck() 3479 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleCommonChecks()
|
D | intrinsics_arm64.cc | 3977 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks()
|
D | intrinsics_arm_vixl.cc | 3824 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks()
|