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.h58 ObjPtr<PointerArray> GetInstanceJFieldIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_);
73 ObjPtr<PointerArray> GetStaticJFieldIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_);
91 ObjPtr<PointerArray> GetJMethodIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_);
98 ObjPtr<PointerArray> GetObsoleteMethods() REQUIRES_SHARED(Locks::mutator_lock_);
122 void SetObsoleteArrays(ObjPtr<PointerArray> methods, ObjPtr<ObjectArray<DexCache>> dex_caches)
162 HeapReference<PointerArray> instance_jfield_ids_;
166 HeapReference<PointerArray> jmethod_ids_;
173 HeapReference<PointerArray> obsolete_methods_;
179 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_);
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()
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()
Dthrowable.cc112 ObjPtr<PointerArray> method_trace = ObjPtr<PointerArray>::DownCast(methods_and_dex_pcs); in Dump()
Darray.h230 class PointerArray : public Array {
266 void Fixup(ObjPtr<mirror::PointerArray> dest, PointerSize pointer_size, const Visitor& visitor)
274 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.h819 ALWAYS_INLINE ObjPtr<PointerArray> GetVTable() REQUIRES_SHARED(Locks::mutator_lock_);
821 ALWAYS_INLINE ObjPtr<PointerArray> GetVTableDuringLinking() REQUIRES_SHARED(Locks::mutator_lock_);
823 void SetVTable(ObjPtr<PointerArray> new_vtable) REQUIRES_SHARED(Locks::mutator_lock_);
1471 HeapReference<PointerArray> vtable_;
Dclass.cc1246 ObjPtr<PointerArray> table = GetVTableDuringLinking(); in PopulateEmbeddedVTable()
1771 ObjPtr<mirror::PointerArray> methods = iftable->GetMethodArrayOrNull(i); in FindAccessibleInterfaceMethod()
/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/runtime/
Dclass_linker.cc1752 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in CheckObjects()
1814 void CheckArtMethodPointerArray(ObjPtr<mirror::PointerArray> arr, in CheckArtMethodPointerArray()
2377 ObjPtr<mirror::PointerArray> ClassLinker::AllocPointerArray(Thread* self, size_t length) { in AllocPointerArray()
2378 return ObjPtr<mirror::PointerArray>::DownCast( in AllocPointerArray()
6498 MutableHandle<mirror::PointerArray> vtable; in LinkVirtualMethods()
6520 Handle<mirror::PointerArray> super_vtable = hs.NewHandle(super_class->GetVTable()); in LinkVirtualMethods()
6528 vtable = hs.NewHandle(ObjPtr<mirror::PointerArray>::DownCast( in LinkVirtualMethods()
6668 vtable.Assign(ObjPtr<mirror::PointerArray>::DownCast( in LinkVirtualMethods()
6683 ObjPtr<mirror::PointerArray> vtable = AllocPointerArray(self, num_virtual_methods); in LinkVirtualMethods()
6922 ObjPtr<mirror::PointerArray> method_array; in AllocateIfTableMethodArrays()
[all …]
Dcha.cc615 ObjPtr<mirror::PointerArray> method_array = iftable->GetMethodArray(i); in UpdateAfterLoadingOf()
Dthread.cc2804 ObjPtr<mirror::PointerArray> methods_and_pcs = in Init()
2840 ObjPtr<mirror::PointerArray> methods_and_pcs = GetTraceMethodsAndPCs(); in AddFrame()
2852 ObjPtr<mirror::PointerArray> GetTraceMethodsAndPCs() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetTraceMethodsAndPCs()
2853 return ObjPtr<mirror::PointerArray>::DownCast(trace_->Get(0)); in GetTraceMethodsAndPCs()
2907 ObjPtr<mirror::PointerArray> trace_methods = build_trace_visitor.GetTraceMethodsAndPCs(); in CreateInternalStackTrace()
3020 const ObjPtr<mirror::PointerArray> method_trace = in InternalStackTraceToStackTraceElementArray()
3021 ObjPtr<mirror::PointerArray>::DownCast(decoded_traces->Get(0)); in InternalStackTraceToStackTraceElementArray()
Dart_method.h64 class PointerArray; variable
Dart_method.cc119 ObjPtr<mirror::PointerArray> obsolete_methods(ext.IsNull() ? nullptr : ext->GetObsoleteMethods()); in GetObsoleteDexCache()
Dclass_linker.h550 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_;
1245 art::ObjPtr<art::mirror::PointerArray> GetOldObsoleteMethods(jint klass_index) const in GetOldObsoleteMethods()
1247 return art::ObjPtr<art::mirror::PointerArray>::DownCast( in GetOldObsoleteMethods()
1318 void SetOldObsoleteMethods(jint klass_index, art::ObjPtr<art::mirror::PointerArray> methods) in SetOldObsoleteMethods()
1491 art::ObjPtr<art::mirror::PointerArray> GetOldObsoleteMethods() const in GetOldObsoleteMethods()
1558 void SetOldObsoleteMethods(art::ObjPtr<art::mirror::PointerArray> methods) in SetOldObsoleteMethods()
3089 art::ObjPtr<art::mirror::PointerArray> methods = ext->GetObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded()
3090 art::ObjPtr<art::mirror::PointerArray> old_methods = cur_data->GetOldObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded()
/art/runtime/gc/space/
Dimage_space.cc331 void VisitPointerArray(ObjPtr<mirror::PointerArray> pointer_array) in VisitPointerArray()
1251 ObjPtr<mirror::PointerArray> vtable = in RelocateInPlace()
1264 ObjPtr<mirror::PointerArray> unpatched_ifarray = in RelocateInPlace()
1268 ObjPtr<mirror::PointerArray> ifarray = forward_object(unpatched_ifarray.Ptr()); in RelocateInPlace()
2623 ObjPtr<mirror::PointerArray> vtable = in DoRelocateSpaces()
2633 ObjPtr<mirror::PointerArray> unpatched_ifarray = in DoRelocateSpaces()
2638 ObjPtr<mirror::PointerArray> ifarray = in DoRelocateSpaces()
/art/dex2oat/linker/
Dimage_writer.cc1834 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable<kVerifyNone, kWithoutReadBarrier>(); in VisitNewMethodPointerArrays()
1845 ObjPtr<mirror::PointerArray> methods = in VisitNewMethodPointerArrays()
1847 ObjPtr<mirror::PointerArray> super_methods = (i < super_iftable_count) in VisitNewMethodPointerArrays()
1884 [&](ObjPtr<mirror::PointerArray> pointer_array) REQUIRES_SHARED(Locks::mutator_lock_) { in ProcessDexFileObjects()
2858 void ImageWriter::CopyAndFixupMethodPointerArray(mirror::PointerArray* arr) { in CopyAndFixupMethodPointerArray()
2868 auto* dest_array = down_cast<mirror::PointerArray*>(dst); in CopyAndFixupMethodPointerArray()
2977 [&](ObjPtr<mirror::PointerArray> pointer_array) REQUIRES_SHARED(Locks::mutator_lock_) { in CopyAndFixupObjects()
Dimage_writer.h481 void CopyAndFixupMethodPointerArray(mirror::PointerArray* arr)