Home
last modified time | relevance | path

Searched refs:FieldVarHandle (Results 1 – 19 of 19) sorted by relevance

/art/runtime/mirror/
Dvar_handle.h224 class MANAGED FieldVarHandle : public VarHandle {
250 return MemberOffset(OFFSETOF_MEMBER(FieldVarHandle, art_field_)); in ArtFieldOffset()
259 DISALLOW_IMPLICIT_CONSTRUCTORS(FieldVarHandle);
262 class MANAGED StaticFieldVarHandle : public FieldVarHandle {
Dvar_handle_test.cc47 static ObjPtr<FieldVarHandle> CreateFieldVarHandle(Thread* const self, in CreateFieldVarHandle()
52 Handle<FieldVarHandle> fvh = hs.NewHandle( in CreateFieldVarHandle()
53 ObjPtr<FieldVarHandle>::DownCast(GetClassRoot<FieldVarHandle>()->AllocObject(self))); in CreateFieldVarHandle()
66 fvh->SetField64<false>(FieldVarHandle::ArtFieldOffset(), opaque_field); in CreateFieldVarHandle()
290 Handle<mirror::FieldVarHandle> fvh(hs.NewHandle(CreateFieldVarHandle(self, value, mask))); in TEST_F()
493 Handle<mirror::FieldVarHandle> fvh(hs.NewHandle(CreateFieldVarHandle(self, value, mask))); in TEST_F()
Dvar_handle.cc1469 if (klass == GetClassRoot<FieldVarHandle>(class_roots)) { in Access()
1470 auto vh = ObjPtr<FieldVarHandle>::DownCast(this); in Access()
1661 bool FieldVarHandle::Access(AccessMode access_mode, in Access()
2036 void FieldVarHandle::VisitTarget(ReflectiveValueVisitor* v) { in VisitTarget()
/art/compiler/optimizing/
Dintrinsics_utils.h227 : GetClassRoot<mirror::FieldVarHandle>())); in GetBootImageVarHandleField()
228 static_assert(std::is_base_of_v<mirror::FieldVarHandle, mirror::StaticFieldVarHandle>); in GetBootImageVarHandleField()
229 return ObjPtr<mirror::FieldVarHandle>::DownCast(var_handle)->GetArtField(); in GetBootImageVarHandleField()
Dinstruction_simplifier.cc3091 expected_var_handle_class = GetClassRoot<mirror::FieldVarHandle>(); in CanUseKnownImageVarHandle()
Dintrinsics_x86.cc3892 const uint32_t artfield_offset = mirror::FieldVarHandle::ArtFieldOffset().Uint32Value(); in GenerateVarHandleFieldReference()
Dintrinsics_riscv64.cc3416 const MemberOffset art_field_offset = mirror::FieldVarHandle::ArtFieldOffset(); in GenerateVarHandleTarget()
Dintrinsics_x86_64.cc3922 const MemberOffset art_field_offset = mirror::FieldVarHandle::ArtFieldOffset(); in GenerateVarHandleTarget()
Dintrinsics_arm_vixl.cc4420 const MemberOffset art_field_offset = mirror::FieldVarHandle::ArtFieldOffset(); in GenerateVarHandleTarget()
Dintrinsics_arm64.cc4698 const MemberOffset art_field_offset = mirror::FieldVarHandle::ArtFieldOffset(); in GenerateVarHandleTarget()
/art/runtime/
Dclass_root.h43 class FieldVarHandle; variable
82 …ndle, "Ljava/lang/invoke/FieldVarHandle;", mirror::FieldVarHandle) …
Dclass_linker_test.cc818 struct FieldVarHandleOffsets : public CheckOffsets<mirror::FieldVarHandle> {
819 FieldVarHandleOffsets() : CheckOffsets<mirror::FieldVarHandle>( in FieldVarHandleOffsets()
821 addOffset(OFFSETOF_MEMBER(mirror::FieldVarHandle, art_field_), "artField"); in FieldVarHandleOffsets()
/art/test/1983-structural-redefinition-failures/
Dexpected-cts.txt25 Is Structurally modifiable class java.lang.invoke.FieldVarHandle false
Dexpected-stdout.txt25 Is Structurally modifiable class java.lang.invoke.FieldVarHandle false
/art/runtime/gc/space/
Dimage_space.cc2573 GetClassRoot<mirror::FieldVarHandle, kWithoutReadBarrier>(class_roots); in DoRelocateSpaces()
2585 GetClassRoot<mirror::FieldVarHandle, kWithoutReadBarrier>(class_roots).Ptr()); in DoRelocateSpaces()
2703 ObjPtr<mirror::FieldVarHandle> as_field_var_handle = in DoRelocateSpaces()
2704 ObjPtr<mirror::FieldVarHandle>::DownCast(object); in DoRelocateSpaces()
/art/dex2oat/linker/
Dimage_writer.cc3423 } else if (klass == GetClassRoot<mirror::FieldVarHandle, kWithoutReadBarrier>(class_roots) || in FixupObject()
3426 auto* dest = down_cast<mirror::FieldVarHandle*>(copy); in FixupObject()
3427 auto* src = down_cast<mirror::FieldVarHandle*>(orig); in FixupObject()
3429 CopyAndFixupPointer(dest, mirror::FieldVarHandle::ArtFieldOffset(), src_field); in FixupObject()
/art/runtime/gc/
Dheap.cc4796 } else if (art::GetClassRoot<art::mirror::FieldVarHandle>()->IsAssignableFrom(klass)) { in VisitReflectiveTargets()
4797 down_cast<mirror::FieldVarHandle*>(ref)->VisitTarget(visit); in VisitReflectiveTargets()
/art/build/boot/
Dpreloaded-classes848 java.lang.invoke.FieldVarHandle
Dboot-image-profile.txt2677 HSPLjava/lang/invoke/FieldVarHandle;-><init>(Ljava/lang/reflect/Field;Ljava/lang/Class;)V
2678 HSPLjava/lang/invoke/FieldVarHandle;->create(Ljava/lang/reflect/Field;)Ljava/lang/invoke/FieldVarHa…
10971 Ljava/lang/invoke/FieldVarHandle;