/art/runtime/mirror/ |
D | dex_cache.cc | 38 void DexCache::Initialize(const DexFile* dex_file, ObjPtr<ClassLoader> class_loader) { in Initialize() 53 void DexCache::VisitReflectiveTargets(ReflectiveValueVisitor* visitor) { in VisitReflectiveTargets() 102 void DexCache::ResetNativeArrays() { in ResetNativeArrays() 117 void DexCache::SetLocation(ObjPtr<mirror::String> location) { in SetLocation() 118 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation() 121 void DexCache::SetClassLoader(ObjPtr<ClassLoader> class_loader) { in SetClassLoader() 122 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, class_loader_), class_loader); in SetClassLoader() 125 ObjPtr<ClassLoader> DexCache::GetClassLoader() { in GetClassLoader() 126 return GetFieldObject<ClassLoader>(OFFSET_OF_OBJECT_MEMBER(DexCache, class_loader_)); in GetClassLoader()
|
D | dex_cache-inl.h | 57 T* DexCache::AllocArray(MemberOffset obj_offset, MemberOffset num_offset, size_t num) { in AllocArray() 62 mirror::DexCache* dex_cache = this; in AllocArray() 66 dex_cache = reinterpret_cast<DexCache*>(ReadBarrier::Mark(dex_cache)); in AllocArray() 110 DexCache::SetNativePair(dex_cache, 0, first_elem); in Initialize() 113 inline uint32_t DexCache::ClassSize(PointerSize pointer_size) { in ClassSize() 118 inline uint32_t DexCache::StringSlotIndex(dex::StringIndex string_idx) { in StringSlotIndex() 125 inline String* DexCache::GetResolvedString(dex::StringIndex string_idx) { in GetResolvedString() 134 inline void DexCache::SetResolvedString(dex::StringIndex string_idx, ObjPtr<String> resolved) { in SetResolvedString() 152 inline void DexCache::ClearString(dex::StringIndex string_idx) { in ClearString() 167 inline uint32_t DexCache::TypeSlotIndex(dex::TypeIndex type_idx) { in TypeSlotIndex() [all …]
|
D | dex_cache.h | 134 class MANAGED DexCache final : public Object { 189 return sizeof(DexCache); in InstanceSize() 205 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset() 209 return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); in PreResolvedStringsOffset() 213 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); in ResolvedTypesOffset() 217 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); in ResolvedFieldsOffset() 221 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); in ResolvedMethodsOffset() 225 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); in ResolvedMethodTypesOffset() 229 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); in ResolvedCallSitesOffset() 233 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); in NumStringsOffset() [all …]
|
D | class_ext.cc | 45 ObjPtr<ObjectArray<DexCache>> dex_caches) { in SetObsoleteArrays() 68 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches())); in ExtendObsoleteArrays() 85 Handle<ObjectArray<DexCache>> new_dex_caches(hs.NewHandle<ObjectArray<DexCache>>( in ExtendObsoleteArrays() 86 ObjectArray<DexCache>::Alloc(self, in ExtendObsoleteArrays()
|
D | dex_cache_test.cc | 51 Handle<DexCache> dex_cache( in TEST_F() 68 Handle<DexCache> dex_cache( in TEST_F() 128 Handle<mirror::DexCache> dex_cache = hs.NewHandle( in TEST_F()
|
D | class_ext.h | 49 ObjPtr<ObjectArray<DexCache>> GetObsoleteDexCaches() REQUIRES_SHARED(Locks::mutator_lock_); 122 void SetObsoleteArrays(ObjPtr<PointerArray> methods, ObjPtr<ObjectArray<DexCache>> dex_caches) 174 HeapReference<ObjectArray<DexCache>> obsolete_dex_caches_;
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 31 class DexCache; variable 46 Handle<mirror::DexCache> dex_cache, 113 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() 173 const Handle<mirror::DexCache> dex_cache_;
|
/art/dex2oat/driver/ |
D | compiler_driver-inl.h | 37 Handle<mirror::DexCache> dex_cache, in ResolveClass() 55 Handle<mirror::DexCache> dex_cache, in ResolveCompilingMethodsClass() 66 Handle<mirror::DexCache> dex_cache, in ResolveField() 87 ObjPtr<mirror::DexCache> dex_cache, in IsFastInstanceField()
|
D | compiler_driver.h | 51 class DexCache; variable 141 Handle<mirror::DexCache> dex_cache, 147 Handle<mirror::DexCache> dex_cache, 156 Handle<mirror::DexCache> dex_cache, 163 std::pair<bool, bool> IsFastInstanceField(ObjPtr<mirror::DexCache> dex_cache,
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 35 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods() 51 auto pair = mirror::DexCache::GetNativePair(methods, i); in Java_Main_cloneResolvedMethods() 70 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods() 90 mirror::DexCache::SetNativePair(methods, i, pair); in Java_Main_restoreResolvedMethods()
|
/art/runtime/ |
D | class_linker.h | 88 class DexCache; variable 264 Handle<mirror::DexCache> dex_cache) 270 ObjPtr<mirror::DexCache> dex_cache) 290 Handle<mirror::DexCache> dex_cache, 310 ObjPtr<mirror::DexCache> dex_cache, 328 ObjPtr<mirror::DexCache> dex_cache, 334 ObjPtr<mirror::DexCache> dex_cache, 343 ObjPtr<mirror::DexCache> dex_cache, 354 Handle<mirror::DexCache> dex_cache, 370 Handle<mirror::DexCache> dex_cache, [all …]
|
D | class_linker-inl.h | 98 Handle<mirror::DexCache> dex_cache) { in ResolveString() 109 ObjPtr<mirror::DexCache> dex_cache) { in LookupString() 164 Handle<mirror::DexCache> dex_cache, in ResolveType() 214 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedType() 225 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch() 274 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch() 292 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedMethod() 325 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod() 376 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod() 395 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod() [all …]
|
D | transaction.h | 40 class DexCache; variable 124 void RecordResolveString(ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx) 128 void RecordResolveMethodType(ObjPtr<mirror::DexCache> dex_cache, dex::ProtoIndex proto_idx) 261 ResolveStringLog(ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx); 268 GcRoot<mirror::DexCache> dex_cache_; 276 ResolveMethodTypeLog(ObjPtr<mirror::DexCache> dex_cache, dex::ProtoIndex proto_idx); 283 GcRoot<mirror::DexCache> dex_cache_;
|
/art/compiler/ |
D | compiler.h | 37 class DexCache; variable 68 Handle<mirror::DexCache> dex_cache) const = 0; 73 Handle<mirror::DexCache> dex_cache) const = 0;
|
/art/runtime/verifier/ |
D | class_verifier.h | 46 class DexCache; variable 63 Handle<mirror::DexCache> dex_cache,
|
D | method_verifier.h | 54 class DexCache; variable 104 Handle<mirror::DexCache> dex_cache, 240 Handle<mirror::DexCache> dex_cache, 258 Handle<mirror::DexCache> dex_cache, 277 Handle<mirror::DexCache> dex_cache,
|
/art/compiler/optimizing/ |
D | reference_type_propagation.h | 35 Handle<mirror::DexCache> hint_dex_cache, 81 Handle<mirror::DexCache> hint_dex_cache_;
|
D | ssa_builder.h | 53 Handle<mirror::DexCache> dex_cache, in SsaBuilder() 128 Handle<mirror::DexCache> dex_cache_;
|
/art/test/155-java-set-resolved-type/ |
D | info.txt | 1 Regression test for Java call to DexCache.setResolvedType() storing the
|
/art/test/626-set-resolved-string/ |
D | info.txt | 1 Test that even if Java code calls DexCache.setResolvedString and does
|
/art/test/159-app-image-fields/ |
D | info.txt | 1 Regression test for erroneously storing an ArtField* in the app image DexCache
|
/art/test/163-app-image-methods/ |
D | info.txt | 1 Regression test for erroneously storing an ArtMethod* in the app image DexCache
|
/art/test/164-resolution-trampoline-dex-cache/ |
D | info.txt | 2 ArtMethod to a DexCache for a MethodId referencing a class missing from the
|
/art/test/606-erroneous-class/ |
D | info.txt | 1 Regression test for a DCHECK in the DexCache which prevented erroneous classes
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 83 ObjPtr<mirror::DexCache> dex_cache = class_linker->RegisterDexFile( in Install() 221 MutableHandle<mirror::DexCache> h_dex_cache(scope.NewHandle<mirror::DexCache>(nullptr)); in ExecuteWithRuntime()
|