Home
last modified time | relevance | path

Searched refs:GetDexCache (Results 1 – 25 of 52) sorted by relevance

123

/art/runtime/
Dclass_linker-inl.h76 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString()
78 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString()
90 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString()
92 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString()
128 referrer->GetDexCache<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
142 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
156 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
180 referrer->GetDexCache<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
192 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
204 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
[all …]
Daot_class_linker.cc62 if (!strict_mode && runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in InitializeClass()
160 if (heap->ObjectIsInBootImageSpace(klass->GetDexCache())) { in CanReferenceInBootImageExtension()
168 if (heap->ObjectIsInBootImageSpace(superclass->GetDexCache())) { in CanReferenceInBootImageExtension()
180 heap->ObjectIsInBootImageSpace(interface->GetDexCache())) { in CanReferenceInBootImageExtension()
193 !heap->ObjectIsInBootImageSpace(declaring_class->GetDexCache())); in CanReferenceInBootImageExtension()
Dart_method-inl.h163 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
302 inline ObjPtr<mirror::DexCache> ArtMethod::GetDexCache() { in GetDexCache() function
305 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
Dart_field-inl.h346 inline ObjPtr<mirror::DexCache> ArtField::GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexCache() function
348 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
352 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
Dart_method.cc76 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod()
137 return GetDeclaringClass()->GetDexCache(); in GetObsoleteDexCache()
194 if (GetDexCache() == other->GetDexCache()) { in HasSameNameAndSignature()
Dart_field.h221 ObjPtr<mirror::DexCache> GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_);
Dhidden_api.h86 dex_file_(GetDexFileFromDexCache(klass->GetDexCache())), in AccessContext()
/art/runtime/mirror/
Ddex_cache_test.cc90 EXPECT_TRUE(linear_alloc->Contains(klass->GetDexCache()->GetResolvedMethods())); in TEST_F()
106 EXPECT_OBJ_PTR_EQ(klass1->GetDexCache(), klass2->GetDexCache()); in TEST_F()
114 klass1->GetDexCache(), in TEST_F()
Dclass.cc734 ObjPtr<DexCache> this_dex_cache = GetDexCache(); in FindClassMethod()
773 if (klass->GetDexCache() == dex_cache) { in FindClassMethod()
984 if (GetDexCache() == dex_cache) { in FindDeclaredInstanceField()
1024 if (dex_cache == GetDexCache()) { in FindDeclaredStaticField()
1219 type_idx, klass->GetDexCache(), klass->GetClassLoader()); in GetDirectInterface()
1260 ObjPtr<DexCache> dex_cache = GetDexCache(); in GetLocation()
1585 if (h_this->IsProxyClass() || h_this->GetDexCache() == nullptr) { in GetInnerClassFlags()
/art/test/800-smali/
Djni.cc34 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); in Java_Main_isAotVerified()
/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()
70 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods()
/art/test/661-oat-writer-layout/
Doat_writer_layout.cc58 OatFile::OatClass oat_class = OatFile::FindOatClass(*klass_ptr->GetDexCache()->GetDexFile(), in Java_Main_hasOatCompiledCode()
/art/compiler/optimizing/
Dbuilder.cc117 dex_compilation_unit_->GetDexCache(), in BuildGraph()
186 dex_compilation_unit_->GetDexCache(), in BuildIntrinsicGraph()
Dinliner.cc296 if (cls->GetDexCache() == nullptr) { in FindClassIndexIn()
303 DCHECK_EQ(cls->GetDexCache(), compilation_unit.GetDexCache().Get()); in FindClassIndexIn()
312 index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in FindClassIndexIn()
902 outer_compilation_unit_.GetDexCache(), in TryInlineMonomorphicCall()
1101 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCall()
1296 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCallToSameTarget()
1419 outer_compilation_unit_.GetDexCache(), in TryInlineAndReplace()
1738 graph_->GetHandleCache()->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet()
1844 dex_compilation_unit.GetDexCache(), in SubstituteArguments()
2000 Handle<mirror::DexCache> dex_cache = NewHandleIfDifferent(resolved_method->GetDexCache(), in TryBuildAndInlineHelper()
[all …]
Dsharpening.cc328 ? dex_compilation_unit.GetDexCache() in ProcessLoadString()
/art/runtime/native/
Djava_lang_Class.cc688 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotation()
704 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotations()
726 if (!klass->IsProxyClass() && klass->GetDexCache() != nullptr) { in Class_getDeclaredClasses()
752 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingClass()
766 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingConstructorNative()
786 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingMethodNative()
817 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getInnerClassName()
835 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getSignatureAnnotation()
850 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isAnonymousClass()
869 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isDeclaredAnnotationPresent()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h85 method->GetDexCache(), in GetResolvedMethod()
237 ObjPtr<mirror::Class> klass = method->GetDexCache()->GetResolvedType(type_idx); in CheckArrayAlloc()
333 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(method->GetDexCache())); in FindFieldFromCode()
358 referrer->GetDexCache(), in FindFieldFromCode()
611 referrer->GetDexCache()->GetResolvedField(field_idx, kRuntimePointerSize); in FindFieldFast()
655 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in FindMethodFast()
Dentrypoint_utils.cc276 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode()
279 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodTypeFromCode()
/art/compiler/driver/
Ddex_compilation_unit.h113 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() function
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc29 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_nativeClearResolvedTypes()
/art/runtime/dex/
Ddex_file_annotations.cc93 ObjPtr<mirror::DexCache> GetDexCache() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexCache() function in art::__anon4bc6c7790111::ClassData
95 return method_->GetDexCache(); in GetDexCache()
97 return real_klass_->GetDexCache(); in GetDexCache()
364 hs.NewHandle(klass.GetDexCache()), in ProcessEncodedAnnotation()
477 dex::StringIndex(index), hs.NewHandle(klass.GetDexCache())); in ProcessAnnotationValue()
494 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
520 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
550 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
571 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
779 hs.NewHandle(klass.GetDexCache()), in GetAnnotationItemFromAnnotationSet()
[all …]
/art/compiler/dex/
Dinline_method_analyser.cc151 method_index, method->GetDexCache(), method->GetClassLoader()); in GetTargetConstructor()
347 target_method->GetDexCache() != method->GetDexCache()) { in DoAnalyseConstructor()
714 ObjPtr<mirror::DexCache> dex_cache = method->GetDexCache(); in ComputeSpecialAccessorInfo()
/art/runtime/interpreter/mterp/
Dnterp.cc245 executing_class->GetDexCache(), in NterpGetMethod()
321 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(caller->GetDexCache())); in ResolveFieldWithAccessChecks()
339 caller->GetDexCache(), in ResolveFieldWithAccessChecks()
/art/compiler/
Dexception_test.cc66 dex_ = my_klass_->GetDexCache()->GetDexFile(); in SetUp()
/art/runtime/verifier/
Dclass_verifier.cc184 Handle<mirror::DexCache> dex_cache(hs.NewHandle(klass->GetDexCache())); in CommonVerifyClass()

123