Home
last modified time | relevance | path

Searched refs:DexCache (Results 1 – 25 of 82) sorted by relevance

1234

/art/runtime/mirror/
Ddex_cache-inl.h71 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 …]
Ddex_cache.h131 class MANAGED DexCache final : public Object {
184 return sizeof(DexCache); in InstanceSize()
188 ObjPtr<mirror::DexCache> dex_cache,
215 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
219 return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); in PreResolvedStringsOffset()
223 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); in ResolvedTypesOffset()
227 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); in ResolvedFieldsOffset()
231 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); in ResolvedMethodsOffset()
235 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); in ResolvedMethodTypesOffset()
239 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); in ResolvedCallSitesOffset()
[all …]
Ddex_cache.cc37 void DexCache::InitializeDexCache(Thread* self, in InitializeDexCache()
38 ObjPtr<mirror::DexCache> dex_cache, in InitializeDexCache()
175 bool DexCache::AddPreResolvedStringsArray() { in AddPreResolvedStringsArray()
196 void DexCache::Init(const DexFile* dex_file, in Init()
235 void DexCache::SetLocation(ObjPtr<mirror::String> location) { in SetLocation()
236 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation()
242 DexCache::ConversionPair64 DexCache::AtomicLoadRelaxed16B(std::atomic<ConversionPair64>* target) { in AtomicLoadRelaxed16B()
244 DexCache::ConversionPair64 value = *reinterpret_cast<ConversionPair64*>(target); in AtomicLoadRelaxed16B()
249 void DexCache::AtomicStoreRelease16B(std::atomic<ConversionPair64>* target, in AtomicStoreRelease16B()
Dclass_ext.cc43 ObjPtr<ObjectArray<DexCache>> dex_caches) { in SetObsoleteArrays()
60 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches())); in ExtendObsoleteArrays()
77 Handle<ObjectArray<DexCache>> new_dex_caches(hs.NewHandle<ObjectArray<DexCache>>( in ExtendObsoleteArrays()
78 ObjectArray<DexCache>::Alloc(self, in ExtendObsoleteArrays()
Dclass_ext.h47 ObjPtr<ObjectArray<DexCache>> GetObsoleteDexCaches() REQUIRES_SHARED(Locks::mutator_lock_);
71 void SetObsoleteArrays(ObjPtr<PointerArray> methods, ObjPtr<ObjectArray<DexCache>> dex_caches)
86 HeapReference<ObjectArray<DexCache>> obsolete_dex_caches_;
Dclass_ext-inl.h32 inline ObjPtr<ObjectArray<DexCache>> ClassExt::GetObsoleteDexCaches() { in GetObsoleteDexCaches()
33 return GetFieldObject<ObjectArray<DexCache>>( in GetObsoleteDexCaches()
/art/tools/cpp-define-generator/
Dmirror_dex_cache.def22 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/
Ddex_cache_arrays_layout-inl.h80 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/
Ddex_compilation_unit.h31 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/
Dcompiler_driver-inl.h37 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()
Dcompiler_driver.h53 class DexCache; variable
140 Handle<mirror::DexCache> dex_cache,
146 Handle<mirror::DexCache> dex_cache,
155 Handle<mirror::DexCache> dex_cache,
162 std::pair<bool, bool> IsFastInstanceField(ObjPtr<mirror::DexCache> dex_cache,
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc35 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/compiler/
Dcompiler.h35 class DexCache; variable
67 Handle<mirror::DexCache> dex_cache) const = 0;
72 Handle<mirror::DexCache> dex_cache) const = 0;
/art/runtime/
Dclass_linker.h61 class DexCache; variable
235 Handle<mirror::DexCache> dex_cache)
241 ObjPtr<mirror::DexCache> dex_cache)
261 Handle<mirror::DexCache> dex_cache,
281 ObjPtr<mirror::DexCache> dex_cache,
294 ObjPtr<mirror::DexCache> dex_cache,
300 ObjPtr<mirror::DexCache> dex_cache,
309 ObjPtr<mirror::DexCache> dex_cache,
320 Handle<mirror::DexCache> dex_cache,
336 Handle<mirror::DexCache> dex_cache,
[all …]
Dclass_linker-inl.h95 Handle<mirror::DexCache> dex_cache) { in ResolveString()
106 ObjPtr<mirror::DexCache> dex_cache) { in LookupString()
161 Handle<mirror::DexCache> dex_cache, in ResolveType()
210 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedType()
220 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch()
268 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch()
285 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedMethod()
318 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod()
359 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod()
369 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in ResolveMethod()
[all …]
/art/runtime/verifier/
Dclass_verifier.h43 class DexCache; variable
63 Handle<mirror::DexCache> dex_cache,
Dmethod_verifier.h55 class DexCache; variable
113 Handle<mirror::DexCache> dex_cache,
221 Handle<mirror::DexCache> dex_cache,
239 Handle<mirror::DexCache> dex_cache,
260 Handle<mirror::DexCache> dex_cache,
/art/test/155-java-set-resolved-type/
Dinfo.txt1 Regression test for Java call to DexCache.setResolvedType() storing the
/art/test/626-set-resolved-string/
Dinfo.txt1 Test that even if Java code calls DexCache.setResolvedString and does
/art/test/163-app-image-methods/
Dinfo.txt1 Regression test for erroneously storing an ArtMethod* in the app image DexCache
/art/test/159-app-image-fields/
Dinfo.txt1 Regression test for erroneously storing an ArtField* in the app image DexCache
/art/test/164-resolution-trampoline-dex-cache/
Dinfo.txt2 ArtMethod to a DexCache for a MethodId referencing a class missing from the
/art/test/606-erroneous-class/
Dinfo.txt1 Regression test for a DCHECK in the DexCache which prevented erroneous classes
/art/compiler/optimizing/
Dreference_type_propagation.h35 Handle<mirror::DexCache> hint_dex_cache,
108 Handle<mirror::DexCache> hint_dex_cache_;
Dssa_builder.h53 Handle<mirror::DexCache> dex_cache, in SsaBuilder()
131 Handle<mirror::DexCache> dex_cache_;

1234