Home
last modified time | relevance | path

Searched refs:PointerArray (Results 1 – 23 of 23) sorted by relevance

/art/runtime/mirror/
Dclass_ext-inl.h71 : h_this->GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent()
104 inline ObjPtr<PointerArray> ClassExt::GetInstanceJFieldIDsPointerArray() { in GetInstanceJFieldIDsPointerArray()
106 return down_cast<PointerArray*>(GetInstanceJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetInstanceJFieldIDsPointerArray()
115 inline ObjPtr<PointerArray> ClassExt::GetStaticJFieldIDsPointerArray() { in GetStaticJFieldIDsPointerArray()
117 return down_cast<PointerArray*>(GetStaticJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetStaticJFieldIDsPointerArray()
137 inline ObjPtr<PointerArray> ClassExt::GetJMethodIDsPointerArray() { in GetJMethodIDsPointerArray()
139 return down_cast<PointerArray*>(GetJMethodIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetJMethodIDsPointerArray()
159 inline ObjPtr<PointerArray> ClassExt::GetObsoleteMethods() { in GetObsoleteMethods()
160 return GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>( in GetObsoleteMethods()
177 ObjPtr<PointerArray> arr(GetObsoleteMethods<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitMethods()
[all …]
Diftable-inl.h46 inline ObjPtr<PointerArray> IfTable::GetMethodArrayOrNull(int32_t i) { in GetMethodArrayOrNull()
47 return ObjPtr<PointerArray>::DownCast( in GetMethodArrayOrNull()
53 inline ObjPtr<PointerArray> IfTable::GetMethodArray(int32_t i) { in GetMethodArray()
54 ObjPtr<PointerArray> method_array = GetMethodArrayOrNull<kVerifyFlags, kReadBarrierOption>(i); in GetMethodArray()
62 ObjPtr<PointerArray> method_array = GetMethodArrayOrNull<kVerifyFlags, kReadBarrierOption>(i); in GetMethodArrayCount()
66 inline void IfTable::SetMethodArray(int32_t i, ObjPtr<PointerArray> arr) { in SetMethodArray()
Dclass_ext.h56 ObjPtr<PointerArray> GetInstanceJFieldIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_);
71 ObjPtr<PointerArray> GetStaticJFieldIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_);
89 ObjPtr<PointerArray> GetJMethodIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_);
96 ObjPtr<PointerArray> GetObsoleteMethods() REQUIRES_SHARED(Locks::mutator_lock_);
120 void SetObsoleteArrays(ObjPtr<PointerArray> methods, ObjPtr<ObjectArray<DexCache>> dex_caches)
160 HeapReference<PointerArray> instance_jfield_ids_;
164 HeapReference<PointerArray> jmethod_ids_;
171 HeapReference<PointerArray> obsolete_methods_;
177 HeapReference<PointerArray> static_jfield_ids_;
Diftable.h37 ObjPtr<PointerArray> GetMethodArrayOrNull(int32_t i) REQUIRES_SHARED(Locks::mutator_lock_);
41 ObjPtr<PointerArray> GetMethodArray(int32_t i) REQUIRES_SHARED(Locks::mutator_lock_);
47 void SetMethodArray(int32_t i, ObjPtr<PointerArray> arr) REQUIRES_SHARED(Locks::mutator_lock_);
Dclass_ext.cc44 void ClassExt::SetObsoleteArrays(ObjPtr<PointerArray> methods, in SetObsoleteArrays()
67 Handle<PointerArray> old_methods(hs.NewHandle(h_this->GetObsoleteMethods())); in ExtendObsoleteArrays()
78 Handle<PointerArray> new_methods(hs.NewHandle<PointerArray>( in ExtendObsoleteArrays()
Darray-inl.h230 inline T PointerArray::GetElementPtrSize(uint32_t idx) { in GetElementPtrSize()
240 inline T PointerArray::GetElementPtrSizeUnchecked(uint32_t idx) { in GetElementPtrSizeUnchecked()
256 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize()
264 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize()
276 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize()
282 inline void PointerArray::Fixup(ObjPtr<mirror::PointerArray> dest, in Fixup()
297 void PointerArray::Memcpy(int32_t dst_pos, in Memcpy()
298 ObjPtr<PointerArray> src, in Memcpy()
Dthrowable.cc112 ObjPtr<PointerArray> method_trace = ObjPtr<PointerArray>::DownCast(methods_and_dex_pcs); in Dump()
Darray.h221 class PointerArray : public Array {
257 void Fixup(ObjPtr<mirror::PointerArray> dest, PointerSize pointer_size, const Visitor& visitor)
265 ObjPtr<PointerArray> src,
Dclass-inl.h291 inline ObjPtr<PointerArray> Class::GetVTable() { in GetVTable()
293 return GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>( in GetVTable()
297 inline ObjPtr<PointerArray> Class::GetVTableDuringLinking() { in GetVTableDuringLinking()
299 return GetFieldObject<PointerArray>(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); in GetVTableDuringLinking()
302 inline void Class::SetVTable(ObjPtr<PointerArray> new_vtable) { in SetVTable()
330 ObjPtr<PointerArray> vtable = GetVTable<kVerifyFlags, kWithoutReadBarrier>(); in GetVTableLength()
339 ObjPtr<PointerArray> vtable = GetVTable<kVerifyFlags, kReadBarrierOption>(); in GetVTableEntry()
379 ObjPtr<PointerArray> vtable = GetVTableDuringLinking(); in SetEmbeddedVTableEntry()
Dobject_test.cc260 Handle<PointerArray> a32 = in TEST_F()
261 hs.NewHandle(ObjPtr<PointerArray>::DownCast<Array>(IntArray::Alloc(soa.Self(), 1))); in TEST_F()
277 Handle<PointerArray> a64 = in TEST_F()
278 hs.NewHandle(ObjPtr<PointerArray>::DownCast<Array>(LongArray::Alloc(soa.Self(), 1))); in TEST_F()
Dclass.h814 ALWAYS_INLINE ObjPtr<PointerArray> GetVTable() REQUIRES_SHARED(Locks::mutator_lock_);
816 ALWAYS_INLINE ObjPtr<PointerArray> GetVTableDuringLinking() REQUIRES_SHARED(Locks::mutator_lock_);
818 void SetVTable(ObjPtr<PointerArray> new_vtable) REQUIRES_SHARED(Locks::mutator_lock_);
1463 HeapReference<PointerArray> vtable_;
Dclass.cc1277 ObjPtr<PointerArray> table = GetVTableDuringLinking(); in PopulateEmbeddedVTable()
/art/runtime/jni/
Djni_id_manager.cc68 ObjPtr<mirror::PointerArray> GetIds(ObjPtr<mirror::Class> k, ArtType* t) in GetIds()
84 return down_cast<mirror::PointerArray*>(ret.Ptr()); in GetIds()
292 ObjPtr<mirror::PointerArray> ids(GetIds(klass, t.Get())); in EncodeGenericId()
437 ObjPtr<mirror::PointerArray> old_statics(old_ext_data->GetStaticJFieldIDsPointerArray()); in VisitReflectiveTargets()
443 ObjPtr<mirror::PointerArray> old_instances( in VisitReflectiveTargets()
457 ObjPtr<mirror::PointerArray> new_statics(new_ext_data->GetStaticJFieldIDsPointerArray()); in VisitReflectiveTargets()
463 ObjPtr<mirror::PointerArray> new_instances( in VisitReflectiveTargets()
487 ObjPtr<mirror::PointerArray> old_methods(old_ext_data->GetJMethodIDsPointerArray()); in VisitReflectiveTargets()
496 ObjPtr<mirror::PointerArray> new_methods(new_ext_data->GetJMethodIDsPointerArray()); in VisitReflectiveTargets()
627 ObjPtr<mirror::PointerArray> ids = GetIds(klass, (*t)); in EndDefer()
/art/dex2oat/linker/
Dimage_writer.h428 void AddMethodPointerArray(ObjPtr<mirror::PointerArray> arr)
538 mirror::PointerArray* arr,
680 std::unordered_map<mirror::PointerArray*, Bin> pointer_arrays_;
Dimage_writer.cc743 void ImageWriter::AddMethodPointerArray(ObjPtr<mirror::PointerArray> arr) { in AddMethodPointerArray()
811 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in AssignImageBinSlot()
2926 mirror::PointerArray* arr, in FixupPointerArray()
2933 auto* dest_array = down_cast<mirror::PointerArray*>(dst); in FixupPointerArray()
3185 auto it = pointer_arrays_.find(down_cast<mirror::PointerArray*>(orig)); in FixupObject()
3188 FixupPointerArray(copy, down_cast<mirror::PointerArray*>(orig), it->second); in FixupObject()
/art/runtime/
Dclass_linker.cc1908 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in CheckObjects()
1979 void CheckArtMethodPointerArray(ObjPtr<mirror::PointerArray> arr, in CheckArtMethodPointerArray()
2581 ObjPtr<mirror::PointerArray> ClassLinker::AllocPointerArray(Thread* self, size_t length) { in AllocPointerArray()
2582 return ObjPtr<mirror::PointerArray>::DownCast( in AllocPointerArray()
6556 MutableHandle<mirror::PointerArray> vtable; in LinkVirtualMethods()
6578 Handle<mirror::PointerArray> super_vtable = hs.NewHandle(super_class->GetVTable()); in LinkVirtualMethods()
6586 vtable = hs.NewHandle(ObjPtr<mirror::PointerArray>::DownCast( in LinkVirtualMethods()
6723 vtable.Assign(ObjPtr<mirror::PointerArray>::DownCast( in LinkVirtualMethods()
6738 ObjPtr<mirror::PointerArray> vtable = AllocPointerArray(self, num_virtual_methods); in LinkVirtualMethods()
6976 ObjPtr<mirror::PointerArray> method_array; in AllocateIfTableMethodArrays()
[all …]
Dthread.cc2734 ObjPtr<mirror::PointerArray> methods_and_pcs = in Init()
2770 ObjPtr<mirror::PointerArray> methods_and_pcs = GetTraceMethodsAndPCs(); in AddFrame()
2782 ObjPtr<mirror::PointerArray> GetTraceMethodsAndPCs() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetTraceMethodsAndPCs()
2783 return ObjPtr<mirror::PointerArray>::DownCast(trace_->Get(0)); in GetTraceMethodsAndPCs()
2837 ObjPtr<mirror::PointerArray> trace_methods = build_trace_visitor.GetTraceMethodsAndPCs(); in CreateInternalStackTrace()
2950 const ObjPtr<mirror::PointerArray> method_trace = in InternalStackTraceToStackTraceElementArray()
2951 ObjPtr<mirror::PointerArray>::DownCast(decoded_traces->Get(0)); in InternalStackTraceToStackTraceElementArray()
Dcha.cc614 ObjPtr<mirror::PointerArray> method_array = iftable->GetMethodArray(i); in UpdateAfterLoadingOf()
Dart_method.h64 class PointerArray; variable
Dart_method.cc116 ObjPtr<mirror::PointerArray> obsolete_methods(ext.IsNull() ? nullptr : ext->GetObsoleteMethods()); in GetObsoleteDexCache()
Dclass_linker.h540 ObjPtr<mirror::PointerArray> AllocPointerArray(Thread* self, size_t length)
/art/openjdkjvmti/
Dti_redefine.cc176 ObsoleteMap(art::ObjPtr<art::mirror::PointerArray> obsolete_methods, in ObsoleteMap()
257 art::ObjPtr<art::mirror::PointerArray> obsolete_methods_;
1248 art::ObjPtr<art::mirror::PointerArray> GetOldObsoleteMethods(jint klass_index) const in GetOldObsoleteMethods()
1250 return art::ObjPtr<art::mirror::PointerArray>::DownCast( in GetOldObsoleteMethods()
1321 void SetOldObsoleteMethods(jint klass_index, art::ObjPtr<art::mirror::PointerArray> methods) in SetOldObsoleteMethods()
1494 art::ObjPtr<art::mirror::PointerArray> GetOldObsoleteMethods() const in GetOldObsoleteMethods()
1561 void SetOldObsoleteMethods(art::ObjPtr<art::mirror::PointerArray> methods) in SetOldObsoleteMethods()
3085 art::ObjPtr<art::mirror::PointerArray> methods = ext->GetObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded()
3086 art::ObjPtr<art::mirror::PointerArray> old_methods = cur_data->GetOldObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded()
/art/runtime/gc/space/
Dimage_space.cc490 void VisitPointerArray(ObjPtr<mirror::PointerArray> pointer_array) in VisitPointerArray()
1475 ObjPtr<mirror::PointerArray> vtable = in RelocateInPlace()
1488 ObjPtr<mirror::PointerArray> unpatched_ifarray = in RelocateInPlace()
1492 ObjPtr<mirror::PointerArray> ifarray = forward_object(unpatched_ifarray.Ptr()); in RelocateInPlace()
2916 ObjPtr<mirror::PointerArray> vtable = in DoRelocateSpaces()
2926 ObjPtr<mirror::PointerArray> unpatched_ifarray = in DoRelocateSpaces()
2931 ObjPtr<mirror::PointerArray> ifarray = in DoRelocateSpaces()