Home
last modified time | relevance | path

Searched refs:dex_cache (Results 26 – 50 of 62) sorted by relevance

123

/art/runtime/mirror/
Dclass.cc614 ArtMethod* Class::FindInterfaceMethod(ObjPtr<DexCache> dex_cache, in FindInterfaceMethod() argument
618 const DexFile& dex_file = *dex_cache->GetDexFile(); in FindInterfaceMethod()
727 ArtMethod* Class::FindClassMethod(ObjPtr<DexCache> dex_cache, in FindClassMethod() argument
735 if (this_dex_cache == dex_cache) { in FindClassMethod()
745 const DexFile& dex_file = *dex_cache->GetDexFile(); in FindClassMethod()
750 if (this_dex_cache != dex_cache && !GetDeclaredMethodsSlice(pointer_size).empty()) { in FindClassMethod()
773 if (klass->GetDexCache() == dex_cache) { in FindClassMethod()
983 ArtField* Class::FindDeclaredInstanceField(ObjPtr<DexCache> dex_cache, uint32_t dex_field_idx) { in FindDeclaredInstanceField() argument
984 if (GetDexCache() == dex_cache) { in FindDeclaredInstanceField()
1006 ArtField* Class::FindInstanceField(ObjPtr<DexCache> dex_cache, uint32_t dex_field_idx) { in FindInstanceField() argument
[all …]
Dclass.h620 ObjPtr<DexCache> dex_cache,
625 ObjPtr<DexCache> dex_cache,
634 ObjPtr<DexCache> dex_cache,
639 ObjPtr<DexCache> dex_cache,
921 ArtMethod* FindInterfaceMethod(ObjPtr<DexCache> dex_cache,
960 ArtMethod* FindClassMethod(ObjPtr<DexCache> dex_cache,
1096 ArtField* FindInstanceField(ObjPtr<DexCache> dex_cache, uint32_t dex_field_idx)
1102 ArtField* FindDeclaredInstanceField(ObjPtr<DexCache> dex_cache, uint32_t dex_field_idx)
1116 ObjPtr<DexCache> dex_cache,
1123 ArtField* FindDeclaredStaticField(ObjPtr<DexCache> dex_cache, uint32_t dex_field_idx)
[all …]
Ddex_cache-inl.h49 inline void DexCachePair<T>::Initialize(std::atomic<DexCachePair<T>>* dex_cache) { in Initialize() argument
53 dex_cache[0].store(first_elem, std::memory_order_relaxed); in Initialize()
66 inline void NativeDexCachePair<T>::Initialize(std::atomic<NativeDexCachePair<T>>* dex_cache, in Initialize() argument
71 DexCache::SetNativePairPtrSize(dex_cache, 0, first_elem, pointer_size); in Initialize()
Ddex_cache.cc40 ObjPtr<mirror::DexCache> dex_cache, in InitializeDexCache() argument
161 dex_cache->Init(dex_file, in InitializeDexCache()
Ddex_cache.h77 static void Initialize(std::atomic<DexCachePair<T>>* dex_cache);
100 static void Initialize(std::atomic<NativeDexCachePair<T>>* dex_cache, PointerSize pointer_size);
190 ObjPtr<mirror::DexCache> dex_cache,
/art/runtime/
Dtransaction.cc261 void Transaction::RecordResolveString(ObjPtr<mirror::DexCache> dex_cache, in RecordResolveString() argument
263 DCHECK(dex_cache != nullptr); in RecordResolveString()
264 DCHECK_LT(string_idx.index_, dex_cache->GetDexFile()->NumStringIds()); in RecordResolveString()
267 resolve_string_logs_.emplace_back(dex_cache, string_idx); in RecordResolveString()
626 Transaction::ResolveStringLog::ResolveStringLog(ObjPtr<mirror::DexCache> dex_cache, in ResolveStringLog() argument
628 : dex_cache_(dex_cache), in ResolveStringLog()
630 DCHECK(dex_cache != nullptr); in ResolveStringLog()
631 DCHECK_LT(string_idx_.index_, dex_cache->GetDexFile()->NumStringIds()); in ResolveStringLog()
Dtransaction.h130 void RecordResolveString(ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx)
266 ResolveStringLog(ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx);
/art/compiler/
Dcommon_compiler_test.cc197 Handle<mirror::DexCache> dex_cache = hs.NewHandle(class_linker_->FindDexCache(self, dex_file)); in CompileMethod() local
204 dex_cache); in CompileMethod()
216 dex_cache); in CompileMethod()
/art/tools/art_verifier/
Dart_verifier.cc83 ObjPtr<mirror::DexCache> dex_cache = class_linker->RegisterDexFile( in Install() local
85 CHECK(dex_cache != nullptr); in Install()
/art/tools/cpp-define-generator/
Dmirror_dex_cache.def18 #include "mirror/dex_cache.h"
/art/compiler/driver/
Ddex_compilation_unit.h46 Handle<mirror::DexCache> dex_cache,
/art/compiler/optimizing/
Doptimizing_compiler.cc284 Handle<mirror::DexCache> dex_cache) const override;
289 Handle<mirror::DexCache> dex_cache) const override;
1004 Handle<mirror::DexCache> dex_cache) const { in Compile()
1024 method_idx, dex_cache, jclass_loader, /*referrer=*/ nullptr, invoke_type); in Compile()
1039 dex_cache, in Compile()
1135 Handle<mirror::DexCache> dex_cache) const { in JniCompile()
1144 method_idx, dex_cache.Get(), /*class_loader=*/ nullptr); in JniCompile()
1158 dex_cache, in JniCompile()
1224 Handle<mirror::DexCache> dex_cache(hs.NewHandle(method->GetDexCache())); in JitCompile() local
1326 dex_cache, in JitCompile()
Dinliner.cc775 ObjPtr<mirror::DexCache> dex_cache = in ExtractClassesFromOfflineProfile() local
777 DCHECK(dex_cache != nullptr); in ExtractClassesFromOfflineProfile()
779 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
781 << "is invalid in location" << dex_cache->GetDexFile()->GetLocation(); in ExtractClassesFromOfflineProfile()
786 dex_cache, in ExtractClassesFromOfflineProfile()
1737 Handle<mirror::DexCache> dex_cache = in CreateInstanceFieldGet() local
1741 dex_cache, in CreateInstanceFieldGet()
2000 Handle<mirror::DexCache> dex_cache = NewHandleIfDifferent(resolved_method->GetDexCache(), in TryBuildAndInlineHelper() local
2019 dex_cache, in TryBuildAndInlineHelper()
Dlicm_test.cc148 ScopedNullHandle<mirror::DexCache> dex_cache; in TEST_F() local
Dreference_type_propagation.cc520 Handle<mirror::DexCache> dex_cache( in SetClassAsTypeInfo() local
525 dex_method_index, dex_cache, loader, /* referrer= */ nullptr, kDirect); in SetClassAsTypeInfo()
556 ObjPtr<mirror::DexCache> dex_cache = FindDexCacheWithHint(soa.Self(), dex_file, hint_dex_cache_); in UpdateReferenceTypeInfo() local
558 type_idx, dex_cache, class_loader_.Get()); in UpdateReferenceTypeInfo()
/art/runtime/gc/space/
Dimage_space.cc531 void VisitDexCacheArrays(ObjPtr<mirror::DexCache> dex_cache) in VisitDexCacheArrays() argument
534 FixupDexCacheArray<mirror::StringDexCacheType>(dex_cache, in VisitDexCacheArrays()
536 dex_cache->NumStrings<kVerifyNone>()); in VisitDexCacheArrays()
537 FixupDexCacheArray<mirror::TypeDexCacheType>(dex_cache, in VisitDexCacheArrays()
539 dex_cache->NumResolvedTypes<kVerifyNone>()); in VisitDexCacheArrays()
540 FixupDexCacheArray<mirror::MethodDexCacheType>(dex_cache, in VisitDexCacheArrays()
542 dex_cache->NumResolvedMethods<kVerifyNone>()); in VisitDexCacheArrays()
543 FixupDexCacheArray<mirror::FieldDexCacheType>(dex_cache, in VisitDexCacheArrays()
545 dex_cache->NumResolvedFields<kVerifyNone>()); in VisitDexCacheArrays()
547 dex_cache, in VisitDexCacheArrays()
[all …]
/art/oatdump/
Doatdump.cc1510 Handle<mirror::DexCache> dex_cache = hs->NewHandle( in DumpVerifier() local
1512 CHECK(dex_cache != nullptr); in DumpVerifier()
1514 dex_method_idx, dex_cache, *options_.class_loader_); in DumpVerifier()
1520 soa.Self(), vios, dex_method_idx, dex_file, dex_cache, *options_.class_loader_, in DumpVerifier()
1940 ObjPtr<mirror::DexCache> dex_cache = in Dump() local
1942 if (dex_cache != nullptr) { in Dump()
1943 dex_caches_.insert(dex_cache.Ptr()); in Dump()
2250 auto* dex_cache = down_cast<mirror::DexCache*>(obj); in DumpObject() local
2253 size_t num_methods = dex_cache->NumResolvedMethods(); in DumpObject()
2257 mirror::MethodDexCacheType* resolved_methods = dex_cache->GetResolvedMethods(); in DumpObject()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils.cc279 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodTypeFromCode() local
282 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
Dentrypoint_utils-inl.h655 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in FindMethodFast() local
671 dex::TypeIndex method_type_idx = dex_cache->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodFast()
673 method_type_idx, dex_cache, referrer->GetClassLoader()); in FindMethodFast()
/art/dex2oat/linker/
Dimage_writer.h455 void ClearDexCache(ObjPtr<mirror::DexCache> dex_cache)
459 void PreloadDexCache(ObjPtr<mirror::DexCache> dex_cache, ObjPtr<mirror::ClassLoader> class_loader)
610 bool IsImageDexCache(ObjPtr<mirror::DexCache> dex_cache) const
/art/runtime/verifier/
Dverifier_deps.cc109 ObjPtr<mirror::DexCache> dex_cache = klass->GetDexCache(); in GetClassDescriptorStringId() local
112 DCHECK(dex_cache != nullptr) << klass->PrettyClass(); in GetClassDescriptorStringId()
113 if (dex_cache->GetDexFile() == &dex_file) { in GetClassDescriptorStringId()
281 ObjPtr<mirror::DexCache> dex_cache = klass->GetDexCache(); in IsInClassPath() local
282 DCHECK(dex_cache != nullptr); in IsInClassPath()
283 const DexFile* dex_file = dex_cache->GetDexFile(); in IsInClassPath()
Dmethod_verifier.cc163 Handle<mirror::DexCache> dex_cache, in MethodVerifier() argument
185 dex_cache_(dex_cache), in MethodVerifier()
5104 Handle<mirror::DexCache> dex_cache, in VerifyMethod() argument
5124 dex_cache, in VerifyMethod()
5144 dex_cache, in VerifyMethod()
5180 Handle<mirror::DexCache> dex_cache, in VerifyMethod() argument
5207 dex_cache, in VerifyMethod()
5349 Handle<mirror::DexCache> dex_cache, in CalculateVerificationInfo() argument
5362 dex_cache, in CalculateVerificationInfo()
5391 Handle<mirror::DexCache> dex_cache, in VerifyMethodAndDump() argument
[all …]
/art/runtime/jit/
Djit.cc1322 Handle<mirror::DexCache> dex_cache, in CompileMethodFromProfile() argument
1327 method_idx, dex_cache, class_loader); in CompileMethodFromProfile()
1436 MutableHandle<mirror::DexCache> dex_cache = hs.NewHandle<mirror::DexCache>(nullptr); in CompileMethodsFromProfile() local
1456 dex_cache.Assign(class_linker->FindDexCache(self, *dex_file)); in CompileMethodsFromProfile()
1457 CHECK(dex_cache != nullptr) << "Could not find dex cache for " << dex_file->GetLocation(); in CompileMethodsFromProfile()
1463 dex_cache, in CompileMethodsFromProfile()
Djit.h461 Handle<mirror::DexCache> dex_cache,
/art/runtime/interpreter/
Dinterpreter_common.cc655 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in GetArgumentForBootstrapMethod() local
659 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod()
1108 Handle<mirror::DexCache> dex_cache(hs.NewHandle(shadow_frame.GetMethod()->GetDexCache())); in DoResolveCallSite() local
1111 ObjPtr<mirror::CallSite> call_site = dex_cache->GetResolvedCallSite(call_site_idx); in DoResolveCallSite()
1128 return dex_cache->SetResolvedCallSite(call_site_idx, call_site); in DoResolveCallSite()

123