/art/runtime/mirror/ |
D | dex_cache-inl.h | 49 DexCache::SetNativePairPtrSize(dex_cache, 0, first_elem, pointer_size); in Initialize() 52 inline uint32_t DexCache::ClassSize(PointerSize pointer_size) { in ClassSize() 57 inline uint32_t DexCache::StringSlotIndex(dex::StringIndex string_idx) { in StringSlotIndex() 64 inline String* DexCache::GetResolvedString(dex::StringIndex string_idx) { in GetResolvedString() 69 inline void DexCache::SetResolvedString(dex::StringIndex string_idx, ObjPtr<String> resolved) { in SetResolvedString() 82 inline void DexCache::ClearString(dex::StringIndex string_idx) { in ClearString() 93 inline uint32_t DexCache::TypeSlotIndex(dex::TypeIndex type_idx) { in TypeSlotIndex() 100 inline Class* DexCache::GetResolvedType(dex::TypeIndex type_idx) { in GetResolvedType() 107 inline void DexCache::SetResolvedType(dex::TypeIndex type_idx, ObjPtr<Class> resolved) { in SetResolvedType() 119 inline void DexCache::ClearResolvedType(dex::TypeIndex type_idx) { in ClearResolvedType() [all …]
|
D | dex_cache.h | 140 class MANAGED DexCache FINAL : public Object { 193 return sizeof(DexCache); in InstanceSize() 197 ObjPtr<mirror::DexCache> dex_cache, 222 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_)); in GetLocation() 226 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset() 230 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); in ResolvedTypesOffset() 234 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); in ResolvedFieldsOffset() 238 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); in ResolvedMethodsOffset() 242 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); in ResolvedMethodTypesOffset() 246 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); in ResolvedCallSitesOffset() [all …]
|
D | class_ext.h | 50 ObjectArray<DexCache>* GetObsoleteDexCaches() REQUIRES_SHARED(Locks::mutator_lock_) { in GetObsoleteDexCaches() 51 return GetFieldObject<ObjectArray<DexCache>>( in GetObsoleteDexCaches() 68 void SetObsoleteArrays(ObjPtr<PointerArray> methods, ObjPtr<ObjectArray<DexCache>> dex_caches) 87 HeapReference<ObjectArray<DexCache>> obsolete_dex_caches_;
|
D | dex_cache.cc | 37 void DexCache::InitializeDexCache(Thread* self, in InitializeDexCache() 38 ObjPtr<mirror::DexCache> dex_cache, in InitializeDexCache() 175 void DexCache::Init(const DexFile* dex_file, in Init() 214 void DexCache::SetLocation(ObjPtr<mirror::String> location) { in SetLocation() 215 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation() 221 DexCache::ConversionPair64 DexCache::AtomicLoadRelaxed16B(std::atomic<ConversionPair64>* target) { in AtomicLoadRelaxed16B() 223 DexCache::ConversionPair64 value = *reinterpret_cast<ConversionPair64*>(target); in AtomicLoadRelaxed16B() 228 void DexCache::AtomicStoreRelease16B(std::atomic<ConversionPair64>* target, in AtomicStoreRelease16B()
|
D | class_ext.cc | 42 ObjPtr<ObjectArray<DexCache>> dex_caches) { in SetObsoleteArrays() 59 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches())); in ExtendObsoleteArrays() 76 Handle<ObjectArray<DexCache>> new_dex_caches(hs.NewHandle<ObjectArray<DexCache>>( in ExtendObsoleteArrays() 77 ObjectArray<DexCache>::Alloc(self, in ExtendObsoleteArrays()
|
/art/tools/cpp-define-generator/ |
D | constant_dexcache.def | 18 #include "mirror/dex_cache.h" // art::mirror::DexCache, StringDexCachePair 24 art::mirror::DexCache::kDexCacheStringCacheSize - 1) 26 art::LeastSignificantBit(art::mirror::DexCache::kDexCacheStringCacheSize)) 30 art::mirror::DexCache::kDexCacheMethodCacheSize - 1) 32 art::LeastSignificantBit(art::mirror::DexCache::kDexCacheMethodCacheSize))
|
D | offset_mirror_dex_cache.def | 17 // Offsets within java.lang.DexCache (mirror::DexCache). 26 …DEFINE_OFFSET_EXPR(MIRROR_DEX_CACHE, field_name, int32_t, art::mirror::DexCache::method_name##Offs…
|
/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); 112 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() 133 const Handle<mirror::DexCache> dex_cache_;
|
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() 104 Handle<mirror::DexCache> dex_cache, in ResolveMethod()
|
D | compiler_driver.h | 52 class DexCache; variable 229 Handle<mirror::DexCache> dex_cache, 235 Handle<mirror::DexCache> dex_cache, 244 Handle<mirror::DexCache> dex_cache, 251 std::pair<bool, bool> IsFastInstanceField(ObjPtr<mirror::DexCache> dex_cache, 260 Handle<mirror::DexCache> dex_cache,
|
D | dex_compilation_unit.cc | 34 Handle<mirror::DexCache> dex_cache) in DexCompilationUnit()
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 35 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 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods() 91 mirror::DexCache::SetNativePairPtrSize(methods, i, pair, kRuntimePointerSize); in Java_Main_restoreResolvedMethods()
|
/art/compiler/ |
D | compiler.h | 32 class DexCache; variable 70 Handle<mirror::DexCache> dex_cache) const = 0; 75 Handle<mirror::DexCache> dex_cache) const = 0;
|
/art/runtime/ |
D | class_linker.h | 55 class DexCache; variable 251 Handle<mirror::DexCache> dex_cache) 257 ObjPtr<mirror::DexCache> dex_cache) 278 Handle<mirror::DexCache> dex_cache, 300 ObjPtr<mirror::DexCache> dex_cache, 313 ObjPtr<mirror::DexCache> dex_cache, 319 ObjPtr<mirror::DexCache> dex_cache, 328 ObjPtr<mirror::DexCache> dex_cache, 339 Handle<mirror::DexCache> dex_cache, 355 Handle<mirror::DexCache> dex_cache, [all …]
|
D | class_linker-inl.h | 80 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveType() 100 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveType() 108 Handle<mirror::DexCache> dex_cache, in ResolveType() 145 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedType() 155 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch() 203 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch() 220 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedMethod() 253 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod() 294 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod() 304 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in ResolveMethod() [all …]
|
/art/runtime/verifier/ |
D | method_verifier.h | 48 class DexCache; variable 107 Handle<mirror::DexCache> dex_cache, 120 Handle<mirror::DexCache> dex_cache, 199 mirror::DexCache* GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_); 234 Handle<mirror::DexCache> dex_cache, 286 Handle<mirror::DexCache> dex_cache, 309 Handle<mirror::DexCache> dex_cache, 726 Handle<mirror::DexCache> dex_cache_ GUARDED_BY(Locks::mutator_lock_);
|
/art/compiler/optimizing/ |
D | reference_type_propagation.h | 35 Handle<mirror::DexCache> hint_dex_cache, 104 Handle<mirror::DexCache> hint_dex_cache_;
|
D | ssa_builder.h | 53 Handle<mirror::DexCache> dex_cache, in SsaBuilder() 124 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
|