Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dclass_ext.cc34 GcRoot<Class> ClassExt::dalvik_system_ClassExt_;
36 uint32_t ClassExt::ClassSize(PointerSize pointer_size) { in ClassSize()
41 void ClassExt::SetObsoleteArrays(ObjPtr<PointerArray> methods, in SetObsoleteArrays()
44 auto obsolete_dex_cache_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_); in SetObsoleteArrays()
45 auto obsolete_methods_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_); in SetObsoleteArrays()
54 bool ClassExt::ExtendObsoleteArrays(Thread* self, uint32_t increase) { in ExtendObsoleteArrays()
57 Handle<ClassExt> h_this(hs.NewHandle(this)); in ExtendObsoleteArrays()
104 ClassExt* ClassExt::Alloc(Thread* self) { in Alloc()
106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
109 void ClassExt::SetVerifyError(ObjPtr<Object> err) { in SetVerifyError()
[all …]
Dclass_ext.h36 class MANAGED ClassExt : public Object {
42 return sizeof(ClassExt); in InstanceSize()
48 return GetFieldObject<ClassExt>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_)); in GetVerifyError()
53 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_)); in GetObsoleteDexCaches()
60 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_)); in GetObsoleteMethods()
64 return GetFieldObject<Object>(OFFSET_OF_OBJECT_MEMBER(ClassExt, original_dex_file_)); in GetOriginalDexFile()
84 static ClassExt* Alloc(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_);
100 DISALLOW_IMPLICIT_CONSTRUCTORS(ClassExt);
Dclass_ext-inl.h28 void ClassExt::VisitNativeRoots(Visitor& visitor, PointerSize pointer_size) { in VisitNativeRoots()
Dclass-refvisitor-inl.h73 ObjPtr<ClassExt> ext(GetExtData<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots()
Dclass.cc68 ClassExt* Class::EnsureExtDataPresent(Thread* self) { in EnsureExtDataPresent()
69 ObjPtr<ClassExt> existing(GetExtData()); in EnsureExtDataPresent()
80 Handle<ClassExt> new_ext(hs.NewHandle(ClassExt::Alloc(self))); in EnsureExtDataPresent()
92 ObjPtr<ClassExt>(nullptr), in EnsureExtDataPresent()
96 ObjPtr<ClassExt>(nullptr), in EnsureExtDataPresent()
99 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent()
142 ObjPtr<ClassExt> ext(h_this->EnsureExtDataPresent(self)); in SetStatus()
Dclass.h53 class ClassExt; variable
1155 ClassExt* GetExtData() REQUIRES_SHARED(Locks::mutator_lock_);
1160 ClassExt* EnsureExtDataPresent(Thread* self)
1421 HeapReference<ClassExt> ext_data_;
Dclass-inl.h87 inline ClassExt* Class::GetExtData() { in GetExtData()
88 return GetFieldObject<ClassExt, kVerifyFlags, kReadBarrierOption>( in GetExtData()
/art/test/981-dedup-original-dex/src/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_linker_test.cc617 struct ClassExtOffsets : public CheckOffsets<mirror::ClassExt> {
618 ClassExtOffsets() : CheckOffsets<mirror::ClassExt>(false, "Ldalvik/system/ClassExt;") { in ClassExtOffsets()
619 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_dex_caches_), "obsoleteDexCaches"); in ClassExtOffsets()
620 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_methods_), "obsoleteMethods"); in ClassExtOffsets()
621 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, original_dex_file_), "originalDexFile"); in ClassExtOffsets()
622 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, verify_error_), "verifyError"); in ClassExtOffsets()
Dart_method.cc91 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache()
Dclass_linker.cc155 ObjPtr<mirror::ClassExt> ext(c->GetExtData()); in GetVerifyError()
538 AllocClass(self, java_lang_Class.Get(), mirror::ClassExt::ClassSize(image_pointer_size_)))); in InitWithoutImage()
540 mirror::ClassExt::SetClass(dalvik_system_ClassExt.Get()); in InitWithoutImage()
599 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage()
997 mirror::ClassExt::SetClass(GetClassRoot(kDalvikSystemClassExt)); in InitFromBootImage()
Druntime.cc1741 mirror::ClassExt::VisitRoots(visitor); in VisitConstantRoots()
/art/runtime/openjdkjvmti/
Dti_class_definition.cc89 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->GetExtData())); in GetDexDataForRetransformation()
Dti_redefine.cc477 art::ObjPtr<art::mirror::ClassExt> ext(GetMirrorClass()->GetExtData()); in AllocateOrGetOriginalDexFile()
518 art::mirror::ClassExt* ext = art_klass->GetExtData(); in FindAndAllocateObsoleteMethods()
1412 art::ObjPtr<art::mirror::ClassExt> ext(mclass->GetExtData()); in UpdateClass()
1422 art::mirror::ClassExt* ext = klass->GetExtData(); in RestoreObsoleteMethodMapsIfUnneeded()
1458 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(driver_->self_))); in EnsureClassAllocationsFinished()
Dti_class.cc226 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(self))); in ClassPreDefine()
/art/compiler/
Dimage_writer.cc765 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in PruneAppImageClassInternal()