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.h35 class MANAGED ClassExt : public Object {
41 return sizeof(ClassExt); in InstanceSize()
47 return GetFieldObject<ClassExt>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_)); in GetVerifyError()
52 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_)); in GetObsoleteDexCaches()
59 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_)); in GetObsoleteMethods()
63 return GetFieldObject<Object>(OFFSET_OF_OBJECT_MEMBER(ClassExt, original_dex_file_)); in GetOriginalDexFile()
83 static ClassExt* Alloc(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_);
99 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
1149 ClassExt* GetExtData() REQUIRES_SHARED(Locks::mutator_lock_);
1154 ClassExt* EnsureExtDataPresent(Thread* self)
1419 HeapReference<ClassExt> ext_data_;
Dclass-inl.h88 inline ClassExt* Class::GetExtData() { in GetExtData()
89 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_linker_test.cc609 struct ClassExtOffsets : public CheckOffsets<mirror::ClassExt> {
610 ClassExtOffsets() : CheckOffsets<mirror::ClassExt>(false, "Ldalvik/system/ClassExt;") { in ClassExtOffsets()
611 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_dex_caches_), "obsoleteDexCaches"); in ClassExtOffsets()
612 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_methods_), "obsoleteMethods"); in ClassExtOffsets()
613 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, original_dex_file_), "originalDexFile"); in ClassExtOffsets()
614 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, verify_error_), "verifyError"); in ClassExtOffsets()
Dart_method.cc108 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache()
Dclass_linker.cc160 ObjPtr<mirror::ClassExt> ext(c->GetExtData()); in GetVerifyError()
547 AllocClass(self, java_lang_Class.Get(), mirror::ClassExt::ClassSize(image_pointer_size_)))); in InitWithoutImage()
549 mirror::ClassExt::SetClass(dalvik_system_ClassExt.Get()); in InitWithoutImage()
608 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage()
1005 mirror::ClassExt::SetClass(GetClassRoot(kDalvikSystemClassExt)); in InitFromBootImage()
Druntime.cc1816 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.cc503 art::ObjPtr<art::mirror::ClassExt> ext(GetMirrorClass()->GetExtData()); in AllocateOrGetOriginalDexFile()
544 art::mirror::ClassExt* ext = art_klass->GetExtData(); in FindAndAllocateObsoleteMethods()
1445 art::ObjPtr<art::mirror::ClassExt> ext(mclass->GetExtData()); in UpdateClass()
1455 art::mirror::ClassExt* ext = klass->GetExtData(); in RestoreObsoleteMethodMapsIfUnneeded()
1491 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(driver_->self_))); in EnsureClassAllocationsFinished()
Dti_class.cc254 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(self))); in ClassPreDefine()
/art/compiler/
Dimage_writer.cc848 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in PruneAppImageClassInternal()