Home
last modified time | relevance | path

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

12

/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.h161 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
300 inline ObjPtr<mirror::DexCache> ArtMethod::GetDexCache() { in GetDexCache() function
303 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/test/800-smali/
Djni.cc34 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); in Java_Main_isAotVerified()
/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()
Dfield-inl.h73 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); in CreateFromArtField()
86 field->GetDexCache()->SetResolvedField(dex_field_index, field, kPointerSize); in CreateFromArtField()
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()
1609 if (h_this->IsProxyClass() || h_this->GetDexCache() == nullptr) { in GetInnerClassFlags()
/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.cc121 dex_compilation_unit_->GetDexCache(), in BuildGraph()
192 dex_compilation_unit_->GetDexCache(), in BuildIntrinsicGraph()
Dinliner.cc297 if (cls->GetDexCache() == nullptr) { in FindClassIndexIn()
304 DCHECK_EQ(cls->GetDexCache(), compilation_unit.GetDexCache().Get()); in FindClassIndexIn()
313 index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in FindClassIndexIn()
894 outer_compilation_unit_.GetDexCache(), in TryInlineMonomorphicCall()
1094 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCall()
1290 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCallToSameTarget()
1414 outer_compilation_unit_.GetDexCache(), in TryInlineAndReplace()
1733 Handle<mirror::DexCache> dex_cache = handles_->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet()
1842 dex_compilation_unit.GetDexCache(), in SubstituteArguments()
1999 Handle<mirror::DexCache> dex_cache = NewHandleIfDifferent(resolved_method->GetDexCache(), in TryBuildAndInlineHelper()
[all …]
/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.cc273 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode()
276 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()
558 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
586 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
800 hs.NewHandle(klass.GetDexCache()), in GetAnnotationItemFromAnnotationSet()
[all …]
/art/runtime/interpreter/mterp/
Dnterp.cc216 executing_class->GetDexCache(), in NterpGetMethod()
292 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(caller->GetDexCache())); in ResolveFieldWithAccessChecks()
310 caller->GetDexCache(), in ResolveFieldWithAccessChecks()
/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/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()

12