/art/runtime/mirror/ |
D | class_ext.cc | 39 uint32_t ClassExt::ClassSize(PointerSize pointer_size) { in ClassSize() 44 void ClassExt::SetObsoleteArrays(ObjPtr<PointerArray> methods, in SetObsoleteArrays() 47 auto obsolete_dex_cache_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_); in SetObsoleteArrays() 48 auto obsolete_methods_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_); in SetObsoleteArrays() 54 void ClassExt::SetIdsArraysForClassExtExtData(ObjPtr<Object> marker) { in SetIdsArraysForClassExtExtData() 56 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_), marker); in SetIdsArraysForClassExtExtData() 57 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_), marker); in SetIdsArraysForClassExtExtData() 58 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_), marker); in SetIdsArraysForClassExtExtData() 64 bool ClassExt::ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase) { in ExtendObsoleteArrays() 113 void ClassExt::SetObsoleteClass(ObjPtr<Class> klass) { in SetObsoleteClass() [all …]
|
D | class_ext-inl.h | 40 inline bool ClassExt::EnsureJniIdsArrayPresent(MemberOffset off, size_t count) { in EnsureJniIdsArrayPresent() 48 Handle<ClassExt> h_this(hs.NewHandle(this)); in EnsureJniIdsArrayPresent() 79 inline bool ClassExt::EnsureJMethodIDsArrayPresent(size_t count) { in EnsureJMethodIDsArrayPresent() 81 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_)), count); in EnsureJMethodIDsArrayPresent() 84 inline bool ClassExt::EnsureStaticJFieldIDsArrayPresent(size_t count) { in EnsureStaticJFieldIDsArrayPresent() 86 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_)), count); in EnsureStaticJFieldIDsArrayPresent() 89 inline bool ClassExt::EnsureInstanceJFieldIDsArrayPresent(size_t count) { in EnsureInstanceJFieldIDsArrayPresent() 91 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)), count); in EnsureInstanceJFieldIDsArrayPresent() 95 inline ObjPtr<Object> ClassExt::GetInstanceJFieldIDs() { in GetInstanceJFieldIDs() 97 OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)); in GetInstanceJFieldIDs() [all …]
|
D | class_ext.h | 34 class MANAGED ClassExt : public Object { 40 return sizeof(ClassExt); in InstanceSize() 108 GetField32(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_))); in GetPreRedefineClassDefIndex() 115 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_)))); in GetPreRedefineDexFile() 124 static bool ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase) 135 static ObjPtr<ClassExt> Alloc(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_); 187 DISALLOW_IMPLICIT_CONSTRUCTORS(ClassExt);
|
D | class-refvisitor-inl.h | 67 ObjPtr<ClassExt> ext(GetExtData<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots() 78 ObjPtr<ClassExt> ext(GetExtData<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitMethods()
|
D | class.cc | 147 ObjPtr<ClassExt> Class::EnsureExtDataPresent(Handle<Class> h_this, Thread* self) { in EnsureExtDataPresent() 148 ObjPtr<ClassExt> existing(h_this->GetExtData()); in EnsureExtDataPresent() 157 Handle<ClassExt> new_ext(hs.NewHandle(ClassExt::Alloc(self))); in EnsureExtDataPresent() 180 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent() 263 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in SetStatus() 364 ObjPtr<ClassExt> ext(GetExtData()); in GetObsoleteClass() 1707 ObjPtr<ClassExt> ext(GetExtData()); in GetMethodIds() 1717 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureMethodIds() 1726 ObjPtr<ClassExt> ext(GetExtData()); in GetStaticFieldIds() 1736 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureStaticFieldIds() [all …]
|
D | class.h | 70 class ClassExt; variable 1135 ObjPtr<ClassExt> GetExtData() REQUIRES_SHARED(Locks::mutator_lock_); 1140 static ObjPtr<ClassExt> EnsureExtDataPresent(Handle<Class> h_this, Thread* self) 1433 HeapReference<ClassExt> ext_data_;
|
D | class-inl.h | 97 inline ObjPtr<ClassExt> Class::GetExtData() { in GetExtData() 98 return GetFieldObject<ClassExt, kVerifyFlags, kReadBarrierOption>( in GetExtData()
|
/art/tools/jvmti-agents/field-counts/ |
D | README.md | 24 …h:libfieldcount.so=Ljava/lang/Class;.extData:Ldalvik/system/ClassExt;,Ldalvik/system/ClassExt;.jme… 35 …/libfieldcounts.so=Ljava/lang/Class;.extData:Ldalvik/system/ClassExt;,Ldalvik/system/ClassExt;.jme… 53 …59 183155 183155 fieldcount.cc:60] listing field Ljava/lang/Class;.extData:Ldalvik/system/ClassExt; 54 dalvikvm64 I 06-27 14:24:59 183155 183155 fieldcount.cc:60] listing field Ldalvik/system/ClassExt;.… 58 …5 183155 fieldcount.cc:155] Ljava/lang/Class;.extData:Ldalvik/system/ClassExt; <ALL TYPES>… 59 …ount.cc:161] Ljava/lang/Class;.extData:Ldalvik/system/ClassExt; Ldalvik/system/ClassExt; … 60 …5 183155 fieldcount.cc:161] Ljava/lang/Class;.extData:Ldalvik/system/ClassExt; <null> 273… 61 dalvikvm64 I 06-27 14:24:59 183155 183155 fieldcount.cc:155] Ldalvik/system/ClassExt;.jmethodIDs… 62 dalvikvm64 I 06-27 14:24:59 183155 183155 fieldcount.cc:161] Ldalvik/system/ClassExt;.jmethodIDs… 63 dalvikvm64 I 06-27 14:24:59 183155 183155 fieldcount.cc:161] Ldalvik/system/ClassExt;.jmethodIDs…
|
/art/test/981-dedup-original-dex/src-art/art/ |
D | Test981.java | 23 import dalvik.system.ClassExt; 163 ClassExt ext_data_object = (ClassExt) getObjectField(k, "extData"); in getOriginalDexFile()
|
/art/test/2012-structural-redefinition-failures-jni-id/ |
D | set-jni-id-used.cc | 43 ObjPtr<mirror::ClassExt> ext(h->EnsureExtDataPresent(h, soa.Self())); in Java_Main_SetPointerIdsUsed()
|
/art/runtime/jni/ |
D | jni_id_manager.h | 35 class ClassExt; variable 109 friend class mirror::ClassExt;
|
D | jni_id_manager.cc | 92 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in ShouldReturnPointer() 102 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in ShouldReturnPointer() 409 Handle<mirror::Class> class_ext_class(hs.NewHandle(GetClassRoot<mirror::ClassExt>())); in Init() 411 Handle<mirror::ClassExt> class_ext_ext(hs.NewHandle(class_ext_class->GetExtData())); in Init() 427 ObjPtr<mirror::ClassExt> old_ext_data(old_class->GetExtData()); in VisitReflectiveTargets() 428 ObjPtr<mirror::ClassExt> new_ext_data(new_class->GetExtData()); in VisitReflectiveTargets() 480 ObjPtr<mirror::ClassExt> old_ext_data(old_class->GetExtData()); in VisitReflectiveTargets() 481 ObjPtr<mirror::ClassExt> new_ext_data(new_class->GetExtData()); in VisitReflectiveTargets()
|
/art/runtime/ |
D | object_lock.cc | 65 template class ObjectLock<mirror::ClassExt>;
|
D | class_root.h | 34 class ClassExt; variable 105 …vikSystemClassExt, "Ldalvik/system/ClassExt;", mirror::ClassExt)
|
D | class_linker_test.cc | 613 struct ClassExtOffsets : public CheckOffsets<mirror::ClassExt> { 614 ClassExtOffsets() : CheckOffsets<mirror::ClassExt>(false, "Ldalvik/system/ClassExt;") { in ClassExtOffsets() 615 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, instance_jfield_ids_), "instanceJfieldIDs"); in ClassExtOffsets() 616 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, jmethod_ids_), "jmethodIDs"); in ClassExtOffsets() 617 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_class_), "obsoleteClass"); in ClassExtOffsets() 618 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_dex_caches_), "obsoleteDexCaches"); in ClassExtOffsets() 619 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_methods_), "obsoleteMethods"); in ClassExtOffsets() 620 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, original_dex_file_), "originalDexFile"); in ClassExtOffsets() 621 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, pre_redefine_class_def_index_), in ClassExtOffsets() 623 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, pre_redefine_dex_file_ptr_), in ClassExtOffsets() [all …]
|
D | hidden_api.cc | 397 ObjPtr<mirror::ClassExt> ext(declaring_class->GetExtData()); in GetDexFlags()
|
D | art_method.cc | 115 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache()
|
D | class_linker.cc | 191 ObjPtr<mirror::ClassExt> ext(c->GetExtData()); in GetVerifyError() 817 AllocClass(self, java_lang_Class.Get(), mirror::ClassExt::ClassSize(image_pointer_size_)))); in InitWithoutImage() 876 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage() 3218 klass.Assign(GetClassRoot<mirror::ClassExt>(this)); in DefineClass()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 150 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()
|
D | ti_redefine.cc | 469 art::ObjPtr<art::mirror::ClassExt> ext(k->GetExtData()); in GetClassRedefinitionError() 790 art::ObjPtr<art::mirror::ClassExt> ext(GetMirrorClass()->GetExtData()); in AllocateOrGetOriginalDexFile() 833 art::ObjPtr<art::mirror::ClassExt> ext = art_klass->GetExtData(); in FindAndAllocateObsoleteMethods() 3008 art::ObjPtr<art::mirror::ClassExt> ext(mclass->GetExtData()); in UpdateClassInPlace() 3084 art::ObjPtr<art::mirror::ClassExt> ext = klass->GetExtData(); in RestoreObsoleteMethodMapsIfUnneeded() 3123 art::Handle<art::mirror::ClassExt> ext = in EnsureClassAllocationsFinished() 3141 if (!art::mirror::ClassExt::ExtendObsoleteArrays( in EnsureClassAllocationsFinished()
|
D | ti_class.cc | 219 art::Handle<art::mirror::ClassExt> ext = in ClassPreDefine()
|
/art/test/1983-structural-redefinition-failures/ |
D | expected-cts.txt | 4 Is Structurally modifiable class dalvik.system.ClassExt false
|
D | expected.txt | 4 Is Structurally modifiable class dalvik.system.ClassExt false
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1083 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in PruneImageClassInternal()
|