/art/runtime/mirror/ |
D | dex_cache-inl.h | 71 DexCache::SetNativePairPtrSize(dex_cache, 0, first_elem, pointer_size); in Initialize() 74 inline uint32_t DexCache::ClassSize(PointerSize pointer_size) { in ClassSize() 79 inline uint32_t DexCache::StringSlotIndex(dex::StringIndex string_idx) { in StringSlotIndex() 86 inline String* DexCache::GetResolvedString(dex::StringIndex string_idx) { in GetResolvedString() 105 inline void DexCache::SetResolvedString(dex::StringIndex string_idx, ObjPtr<String> resolved) { in SetResolvedString() 118 inline void DexCache::SetPreResolvedString(dex::StringIndex string_idx, ObjPtr<String> resolved) { in SetPreResolvedString() 129 inline void DexCache::ClearPreResolvedStrings() { in ClearPreResolvedStrings() 140 inline void DexCache::ClearString(dex::StringIndex string_idx) { in ClearString() 151 inline uint32_t DexCache::TypeSlotIndex(dex::TypeIndex type_idx) { in TypeSlotIndex() 158 inline Class* DexCache::GetResolvedType(dex::TypeIndex type_idx) { in GetResolvedType() [all …]
|
D | dex_cache.cc | 39 void DexCache::InitializeDexCache(Thread* self, in InitializeDexCache() 40 ObjPtr<mirror::DexCache> dex_cache, in InitializeDexCache() 177 void DexCache::VisitReflectiveTargets(ReflectiveValueVisitor* visitor) { in VisitReflectiveTargets() 218 bool DexCache::AddPreResolvedStringsArray() { in AddPreResolvedStringsArray() 241 void DexCache::Init(const DexFile* dex_file, in Init() 280 void DexCache::SetLocation(ObjPtr<mirror::String> location) { in SetLocation() 281 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation() 284 void DexCache::SetClassLoader(ObjPtr<ClassLoader> class_loader) { in SetClassLoader() 285 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, class_loader_), class_loader); in SetClassLoader() 291 DexCache::ConversionPair64 DexCache::AtomicLoadRelaxed16B(std::atomic<ConversionPair64>* target) { in AtomicLoadRelaxed16B() [all …]
|
D | dex_cache.h | 133 class MANAGED DexCache final : public Object { 186 return sizeof(DexCache); in InstanceSize() 190 ObjPtr<mirror::DexCache> dex_cache, 217 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset() 221 return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); in PreResolvedStringsOffset() 225 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); in ResolvedTypesOffset() 229 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); in ResolvedFieldsOffset() 233 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); in ResolvedMethodsOffset() 237 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); in ResolvedMethodTypesOffset() 241 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); in ResolvedCallSitesOffset() [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()
|
/art/tools/cpp-define-generator/ |
D | mirror_dex_cache.def | 22 art::mirror::DexCache::kDexCacheMethodCacheSize - 1) 24 art::mirror::DexCache::ResolvedMethodsOffset().Int32Value()) 30 art::LeastSignificantBit(art::mirror::DexCache::kDexCacheStringCacheSize)) 32 art::mirror::DexCache::kDexCacheStringCacheSize - 1) 34 art::LeastSignificantBit(art::mirror::DexCache::kDexCacheMethodCacheSize))
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 80 type_idx.index_ % mirror::DexCache::kDexCacheTypeCacheSize); in TypeOffset() 84 size_t cache_size = mirror::DexCache::kDexCacheTypeCacheSize; in TypesSize() 100 size_t cache_size = mirror::DexCache::kDexCacheMethodCacheSize; in MethodsSize() 112 uint32_t string_hash = string_idx % mirror::DexCache::kDexCacheStringCacheSize; in StringOffset() 117 size_t cache_size = mirror::DexCache::kDexCacheStringCacheSize; in StringsSize() 131 uint32_t field_hash = field_idx % mirror::DexCache::kDexCacheFieldCacheSize; in FieldOffset() 136 size_t cache_size = mirror::DexCache::kDexCacheFieldCacheSize; in FieldsSize() 148 size_t cache_size = mirror::DexCache::kDexCacheMethodTypeCacheSize; in MethodTypesSize()
|
/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 | 53 class DexCache; variable 143 Handle<mirror::DexCache> dex_cache, 149 Handle<mirror::DexCache> dex_cache, 158 Handle<mirror::DexCache> dex_cache, 165 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::GetNativePairPtrSize(methods, i, kRuntimePointerSize); in Java_Main_cloneResolvedMethods() 70 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods() 90 mirror::DexCache::SetNativePairPtrSize(methods, i, pair, kRuntimePointerSize); in Java_Main_restoreResolvedMethods()
|
/art/runtime/verifier/ |
D | class_verifier.h | 46 class DexCache; variable 76 Handle<mirror::DexCache> dex_cache, 105 Handle<mirror::DexCache> dex_cache,
|
D | method_verifier.h | 55 class DexCache; variable 123 Handle<mirror::DexCache> dex_cache, 137 Handle<mirror::DexCache> dex_cache, 254 Handle<mirror::DexCache> dex_cache, 276 Handle<mirror::DexCache> dex_cache, 299 Handle<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/compiler/optimizing/ |
D | reference_type_propagation.h | 35 Handle<mirror::DexCache> hint_dex_cache, 76 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/runtime/ |
D | class_linker.h | 85 class DexCache; variable 260 Handle<mirror::DexCache> dex_cache) 266 ObjPtr<mirror::DexCache> dex_cache) 286 Handle<mirror::DexCache> dex_cache, 306 ObjPtr<mirror::DexCache> dex_cache, 319 ObjPtr<mirror::DexCache> dex_cache, 325 ObjPtr<mirror::DexCache> dex_cache, 334 ObjPtr<mirror::DexCache> dex_cache, 345 Handle<mirror::DexCache> dex_cache, 361 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() 213 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedType() 223 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch() 272 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch() 289 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedMethod() 322 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod() 363 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod() 382 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod() [all …]
|
/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/163-app-image-methods/ |
D | info.txt | 1 Regression test for erroneously storing an ArtMethod* in the app image DexCache
|
/art/test/159-app-image-fields/ |
D | info.txt | 1 Regression test for erroneously storing an ArtField* 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/dex2oat/linker/ |
D | image_writer.cc | 87 using ::art::mirror::DexCache; 209 bool ImageWriter::IsImageDexCache(ObjPtr<mirror::DexCache> dex_cache) const { in IsImageDexCache() 285 std::vector<ObjPtr<mirror::DexCache>> dex_caches = FindDexCaches(self); in PrepareImageAddressSpace() 286 for (ObjPtr<mirror::DexCache> dex_cache : dex_caches) { in PrepareImageAddressSpace() 675 ObjPtr<mirror::DexCache> dex_cache = in PrepareDexCacheArraySlots() 676 ObjPtr<mirror::DexCache>::DownCast(self->DecodeJObject(data.weak_root)); in PrepareDexCacheArraySlots() 1132 ObjPtr<mirror::DexCache> dex_cache = klass->GetDexCache(); in PruneImageClassInternal() 1242 void ImageWriter::ClearDexCache(ObjPtr<mirror::DexCache> dex_cache) { in ClearDexCache() 1247 mirror::DexCache::GetNativePairPtrSize(resolved_methods, slot_idx, target_ptr_size_); in ClearDexCache() 1255 auto pair = mirror::DexCache::GetNativePairPtrSize(resolved_fields, slot_idx, target_ptr_size_); in ClearDexCache() [all …]
|
D | image_writer.h | 455 void ClearDexCache(ObjPtr<mirror::DexCache> dex_cache) 459 void PreloadDexCache(ObjPtr<mirror::DexCache> dex_cache, ObjPtr<mirror::ClassLoader> class_loader) 464 std::vector<ObjPtr<mirror::DexCache>> FindDexCaches(Thread* self) 529 void FixupDexCacheArray(mirror::DexCache* orig_dex_cache, 530 mirror::DexCache* copy_dex_cache, 534 void FixupDexCache(mirror::DexCache* orig_dex_cache, 535 mirror::DexCache* copy_dex_cache) 610 bool IsImageDexCache(ObjPtr<mirror::DexCache> dex_cache) const
|