Home
last modified time | relevance | path

Searched refs:ClassExt (Results 1 – 18 of 18) sorted by relevance

/art/runtime/mirror/
Dclass_ext.cc37 uint32_t ClassExt::ClassSize(PointerSize pointer_size) { in ClassSize()
42 void ClassExt::SetObsoleteArrays(ObjPtr<PointerArray> methods, in SetObsoleteArrays()
45 auto obsolete_dex_cache_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_); in SetObsoleteArrays()
46 auto obsolete_methods_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_); in SetObsoleteArrays()
55 bool ClassExt::ExtendObsoleteArrays(Thread* self, uint32_t increase) { in ExtendObsoleteArrays()
58 Handle<ClassExt> h_this(hs.NewHandle(this)); in ExtendObsoleteArrays()
105 ObjPtr<ClassExt> ClassExt::Alloc(Thread* self) { in Alloc()
106 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
109 void ClassExt::SetVerifyError(ObjPtr<Object> err) { in SetVerifyError()
111 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
[all …]
Dclass_ext-inl.h28 inline ObjPtr<Object> ClassExt::GetVerifyError() { in GetVerifyError()
29 return GetFieldObject<ClassExt>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_)); in GetVerifyError()
32 inline ObjPtr<ObjectArray<DexCache>> ClassExt::GetObsoleteDexCaches() { in GetObsoleteDexCaches()
34 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_)); in GetObsoleteDexCaches()
39 inline ObjPtr<PointerArray> ClassExt::GetObsoleteMethods() { in GetObsoleteMethods()
41 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_)); in GetObsoleteMethods()
44 inline ObjPtr<Object> ClassExt::GetOriginalDexFile() { in GetOriginalDexFile()
45 return GetFieldObject<Object>(OFFSET_OF_OBJECT_MEMBER(ClassExt, original_dex_file_)); in GetOriginalDexFile()
49 void ClassExt::VisitNativeRoots(Visitor& visitor, PointerSize pointer_size) { in VisitNativeRoots()
Dclass_ext.h34 class MANAGED ClassExt : public Object {
40 return sizeof(ClassExt); in InstanceSize()
59 GetField32(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_))); in GetPreRedefineClassDefIndex()
66 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_)))); in GetPreRedefineDexFile()
82 static ObjPtr<ClassExt> Alloc(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_);
100 DISALLOW_IMPLICIT_CONSTRUCTORS(ClassExt);
Dclass-refvisitor-inl.h73 ObjPtr<ClassExt> ext(GetExtData<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots()
Dclass.cc97 ObjPtr<ClassExt> Class::EnsureExtDataPresent(Thread* self) { in EnsureExtDataPresent()
98 ObjPtr<ClassExt> existing(GetExtData()); in EnsureExtDataPresent()
109 Handle<ClassExt> new_ext(hs.NewHandle(ClassExt::Alloc(self))); in EnsureExtDataPresent()
132 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent()
175 ObjPtr<ClassExt> ext(h_this->EnsureExtDataPresent(self)); in SetStatus()
Dclass.h63 class ClassExt; variable
1062 ObjPtr<ClassExt> GetExtData() REQUIRES_SHARED(Locks::mutator_lock_);
1067 ObjPtr<ClassExt> EnsureExtDataPresent(Thread* self)
1312 HeapReference<ClassExt> ext_data_;
Dclass-inl.h95 inline ObjPtr<ClassExt> Class::GetExtData() { in GetExtData()
96 return GetFieldObject<ClassExt, kVerifyFlags, kReadBarrierOption>( in GetExtData()
/art/test/981-dedup-original-dex/src-art/art/
DTest981.java23 import dalvik.system.ClassExt;
163 ClassExt ext_data_object = (ClassExt) getObjectField(k, "extData"); in getOriginalDexFile()
/art/runtime/
Dobject_lock.cc65 template class ObjectLock<mirror::ClassExt>;
Dclass_root.h34 class ClassExt; variable
105 …vikSystemClassExt, "Ldalvik/system/ClassExt;", mirror::ClassExt)
Dclass_linker_test.cc611 struct ClassExtOffsets : public CheckOffsets<mirror::ClassExt> {
612 ClassExtOffsets() : CheckOffsets<mirror::ClassExt>(false, "Ldalvik/system/ClassExt;") { in ClassExtOffsets()
613 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_dex_caches_), "obsoleteDexCaches"); in ClassExtOffsets()
614 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_methods_), "obsoleteMethods"); in ClassExtOffsets()
615 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, original_dex_file_), "originalDexFile"); in ClassExtOffsets()
616 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, pre_redefine_class_def_index_), in ClassExtOffsets()
618 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, pre_redefine_dex_file_ptr_), in ClassExtOffsets()
620 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, verify_error_), "verifyError"); in ClassExtOffsets()
Dhidden_api.cc361 ObjPtr<mirror::ClassExt> ext(declaring_class->GetExtData()); in GetDexFlags()
Dart_method.cc111 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache()
Dclass_linker.cc181 ObjPtr<mirror::ClassExt> ext(c->GetExtData()); in GetVerifyError()
596 AllocClass(self, java_lang_Class.Get(), mirror::ClassExt::ClassSize(image_pointer_size_)))); in InitWithoutImage()
652 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage()
3117 klass.Assign(GetClassRoot<mirror::ClassExt>(this)); in DefineClass()
/art/openjdkjvmti/
Dti_class_definition.cc150 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->GetExtData())); in GetDexDataForRetransformation()
188 art::ObjPtr<art::mirror::ClassExt> ext(klass->GetExtData()); in DexNeedsDequickening()
216 art::ObjPtr<art::mirror::ClassExt> ext(klass->GetExtData()); in GetQuickenedDexFile()
Dti_redefine.cc572 art::ObjPtr<art::mirror::ClassExt> ext(GetMirrorClass()->GetExtData()); in AllocateOrGetOriginalDexFile()
614 art::ObjPtr<art::mirror::ClassExt> ext = art_klass->GetExtData(); in FindAndAllocateObsoleteMethods()
1519 art::ObjPtr<art::mirror::ClassExt> ext(mclass->GetExtData()); in UpdateClass()
1562 art::ObjPtr<art::mirror::ClassExt> ext = klass->GetExtData(); in RestoreObsoleteMethodMapsIfUnneeded()
1598 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(driver_->self_))); in EnsureClassAllocationsFinished()
Dti_class.cc215 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(self))); in ClassPreDefine()
/art/dex2oat/linker/
Dimage_writer.cc1409 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in PruneAppImageClassInternal()