/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 | 39 inline bool ClassExt::EnsureJniIdsArrayPresent(MemberOffset off, size_t count) { in EnsureJniIdsArrayPresent() 47 Handle<ClassExt> h_this(hs.NewHandle(this)); in EnsureJniIdsArrayPresent() 78 inline bool ClassExt::EnsureJMethodIDsArrayPresent(size_t count) { in EnsureJMethodIDsArrayPresent() 80 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_)), count); in EnsureJMethodIDsArrayPresent() 83 inline bool ClassExt::EnsureStaticJFieldIDsArrayPresent(size_t count) { in EnsureStaticJFieldIDsArrayPresent() 85 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_)), count); in EnsureStaticJFieldIDsArrayPresent() 88 inline bool ClassExt::EnsureInstanceJFieldIDsArrayPresent(size_t count) { in EnsureInstanceJFieldIDsArrayPresent() 90 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)), count); in EnsureInstanceJFieldIDsArrayPresent() 94 inline ObjPtr<Object> ClassExt::GetInstanceJFieldIDs() { in GetInstanceJFieldIDs() 96 OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)); in GetInstanceJFieldIDs() [all …]
|
D | class_ext.h | 34 class MANAGED ClassExt : public Object { 42 return sizeof(ClassExt); in InstanceSize() 110 GetField32(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_))); in GetPreRedefineClassDefIndex() 117 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_)))); in GetPreRedefineDexFile() 126 static bool ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase) 137 static ObjPtr<ClassExt> Alloc(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_); 189 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 | 116 ObjPtr<ClassExt> Class::EnsureExtDataPresent(Handle<Class> h_this, Thread* self) { in EnsureExtDataPresent() 117 ObjPtr<ClassExt> existing(h_this->GetExtData()); in EnsureExtDataPresent() 126 Handle<ClassExt> new_ext(hs.NewHandle(ClassExt::Alloc(self))); in EnsureExtDataPresent() 149 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent() 232 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in SetStatus() 333 ObjPtr<ClassExt> ext(GetExtData()); in GetObsoleteClass() 1652 ObjPtr<ClassExt> ext(GetExtData()); in GetMethodIds() 1662 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureMethodIds() 1671 ObjPtr<ClassExt> ext(GetExtData()); in GetStaticFieldIds() 1681 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureStaticFieldIds() [all …]
|
D | class.h | 70 class ClassExt; variable 1146 ObjPtr<ClassExt> GetExtData() REQUIRES_SHARED(Locks::mutator_lock_); 1151 static ObjPtr<ClassExt> EnsureExtDataPresent(Handle<Class> h_this, Thread* self) 1441 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 | 93 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in ShouldReturnPointer() 103 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in ShouldReturnPointer() 410 Handle<mirror::Class> class_ext_class(hs.NewHandle(GetClassRoot<mirror::ClassExt>())); in Init() 412 Handle<mirror::ClassExt> class_ext_ext(hs.NewHandle(class_ext_class->GetExtData())); in Init() 428 ObjPtr<mirror::ClassExt> old_ext_data(old_class->GetExtData()); in VisitReflectiveTargets() 429 ObjPtr<mirror::ClassExt> new_ext_data(new_class->GetExtData()); in VisitReflectiveTargets() 481 ObjPtr<mirror::ClassExt> old_ext_data(old_class->GetExtData()); in VisitReflectiveTargets() 482 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 | 36 class ClassExt; variable 98 …vikSystemClassExt, "Ldalvik/system/ClassExt;", mirror::ClassExt)
|
D | class_linker_test.cc | 616 struct ClassExtOffsets : public CheckOffsets<mirror::ClassExt> { 617 ClassExtOffsets() : CheckOffsets<mirror::ClassExt>(false, "Ldalvik/system/ClassExt;") { in ClassExtOffsets() 618 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, instance_jfield_ids_), "instanceJfieldIDs"); in ClassExtOffsets() 619 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, jmethod_ids_), "jmethodIDs"); in ClassExtOffsets() 620 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_class_), "obsoleteClass"); in ClassExtOffsets() 621 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_dex_caches_), "obsoleteDexCaches"); in ClassExtOffsets() 622 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, obsolete_methods_), "obsoleteMethods"); in ClassExtOffsets() 623 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, original_dex_file_), "originalDexFile"); in ClassExtOffsets() 624 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, pre_redefine_class_def_index_), in ClassExtOffsets() 626 addOffset(OFFSETOF_MEMBER(mirror::ClassExt, pre_redefine_dex_file_ptr_), in ClassExtOffsets() [all …]
|
D | hidden_api.cc | 422 ObjPtr<mirror::ClassExt> ext(declaring_class->GetExtData()); in GetDexFlags()
|
D | art_method.cc | 118 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache()
|
D | class_linker.cc | 196 ObjPtr<mirror::ClassExt> ext(c->GetExtData()); in GetVerifyError() 810 AllocClass(self, java_lang_Class.Get(), mirror::ClassExt::ClassSize(image_pointer_size_)))); in InitWithoutImage() 870 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage() 3082 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() 787 art::ObjPtr<art::mirror::ClassExt> ext(GetMirrorClass()->GetExtData()); in AllocateOrGetOriginalDexFile() 830 art::ObjPtr<art::mirror::ClassExt> ext = art_klass->GetExtData(); in FindAndAllocateObsoleteMethods() 3012 art::ObjPtr<art::mirror::ClassExt> ext(mclass->GetExtData()); in UpdateClassInPlace() 3088 art::ObjPtr<art::mirror::ClassExt> ext = klass->GetExtData(); in RestoreObsoleteMethodMapsIfUnneeded() 3127 art::Handle<art::mirror::ClassExt> ext = in EnsureClassAllocationsFinished() 3145 if (!art::mirror::ClassExt::ExtendObsoleteArrays( in EnsureClassAllocationsFinished()
|
D | ti_class.cc | 220 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-stdout.txt | 4 Is Structurally modifiable class dalvik.system.ClassExt false
|
/art/compiler/optimizing/ |
D | instruction_simplifier_test.cc | 32 class ClassExt; 92 /* ti= */ std::nullopt, vshs->NewHandle<mirror::Class>(GetClassRoot<mirror::ClassExt>())); in GetLoadClasses()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 957 ObjPtr<mirror::ClassExt> ext(klass->GetExtData()); in PruneImageClassInternal()
|