Home
last modified time | relevance | path

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

1234

/art/runtime/mirror/
Ddex_cache.cc38 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()
Ddex_cache-inl.h57 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 …]
Ddex_cache.h134 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 …]
Dclass_ext.cc45 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()
Ddex_cache_test.cc51 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()
Dclass_ext.h49 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/
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.h51 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/
Dclear_dex_cache.cc35 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/
Dclass_linker.h88 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 …]
Dclass_linker-inl.h98 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 …]
Dtransaction.h40 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/
Dcompiler.h37 class DexCache; variable
68 Handle<mirror::DexCache> dex_cache) const = 0;
73 Handle<mirror::DexCache> dex_cache) const = 0;
/art/runtime/verifier/
Dclass_verifier.h46 class DexCache; variable
63 Handle<mirror::DexCache> dex_cache,
Dmethod_verifier.h54 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/
Dreference_type_propagation.h35 Handle<mirror::DexCache> hint_dex_cache,
81 Handle<mirror::DexCache> hint_dex_cache_;
Dssa_builder.h53 Handle<mirror::DexCache> dex_cache, in SsaBuilder()
128 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/159-app-image-fields/
Dinfo.txt1 Regression test for erroneously storing an ArtField* in the app image DexCache
/art/test/163-app-image-methods/
Dinfo.txt1 Regression test for erroneously storing an ArtMethod* 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/tools/art_verifier/
Dart_verifier.cc83 ObjPtr<mirror::DexCache> dex_cache = class_linker->RegisterDexFile( in Install()
221 MutableHandle<mirror::DexCache> h_dex_cache(scope.NewHandle<mirror::DexCache>(nullptr)); in ExecuteWithRuntime()

1234