Home
last modified time | relevance | path

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

123

/aosp12/art/runtime/
H A Dclass_linker-inl.h76 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString()
78 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString()
92 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString()
142 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
156 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
192 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
204 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
321 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod()
384 referrer->GetDexCache(), in ResolveMethod()
400 referrer->GetDexCache(), type, [cls]() { return cls; })) { in ResolveMethod()
[all …]
H A Daot_class_linker.cc62 if (!strict_mode && runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in InitializeClass()
162 if (heap->ObjectIsInBootImageSpace(klass->GetDexCache())) { in CanReferenceInBootImageExtension()
170 if (heap->ObjectIsInBootImageSpace(superclass->GetDexCache())) { in CanReferenceInBootImageExtension()
182 heap->ObjectIsInBootImageSpace(interface->GetDexCache())) { in CanReferenceInBootImageExtension()
195 !heap->ObjectIsInBootImageSpace(declaring_class->GetDexCache())); in CanReferenceInBootImageExtension()
H A Dart_method-inl.h163 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
310 inline ObjPtr<mirror::DexCache> ArtMethod::GetDexCache() { in GetDexCache() function
313 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
H A 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()
H A Dart_method.cc76 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod()
140 return GetDeclaringClass()->GetDexCache(); in GetObsoleteDexCache()
195 if (GetDexCache() == other->GetDexCache()) { in HasSameNameAndSignature()
H A Dart_field.h221 ObjPtr<mirror::DexCache> GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_);
/aosp12/art/runtime/mirror/
H A 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()
H A Dclass.cc703 ObjPtr<DexCache> this_dex_cache = GetDexCache(); in FindClassMethod()
742 if (klass->GetDexCache() == dex_cache) { in FindClassMethod()
953 if (GetDexCache() == dex_cache) { in FindDeclaredInstanceField()
993 if (dex_cache == GetDexCache()) { in FindDeclaredStaticField()
1188 type_idx, klass->GetDexCache(), klass->GetClassLoader()); in GetDirectInterface()
1229 ObjPtr<DexCache> dex_cache = GetDexCache(); in GetLocation()
1554 if (h_this->IsProxyClass() || h_this->GetDexCache() == nullptr) { in GetInnerClassFlags()
/aosp12/art/runtime/native/
H A Djava_lang_Class.cc690 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotation()
706 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotations()
728 if (!klass->IsProxyClass() && klass->GetDexCache() != nullptr) { in Class_getDeclaredClasses()
754 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingClass()
768 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingConstructorNative()
788 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingMethodNative()
819 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getInnerClassName()
837 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getSignatureAnnotation()
852 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isAnonymousClass()
871 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isDeclaredAnnotationPresent()
[all …]
/aosp12/art/test/497-inlining-and-class-loader/
H A 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()
/aosp12/art/compiler/optimizing/
H A Dbuilder.cc114 dex_compilation_unit_->GetDexCache(), in BuildGraph()
182 dex_compilation_unit_->GetDexCache(), in BuildIntrinsicGraph()
H A 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()
793 outer_compilation_unit_.GetDexCache(), in TryInlineMonomorphicCall()
992 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCall()
1183 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCallToSameTarget()
1200 outer_compilation_unit_.GetDexCache(), in MaybeRunReferenceTypePropagation()
1641 graph_->GetHandleCache()->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet()
1747 dex_compilation_unit.GetDexCache(), in SubstituteArguments()
1891 Handle<mirror::DexCache> dex_cache = NewHandleIfDifferent(resolved_method->GetDexCache(), in TryBuildAndInlineHelper()
[all …]
H A Dinstruction_builder.cc876 dex_compilation_unit.GetDexCache(), in ResolveMethod()
901 dex_compilation_unit.GetDexCache().Get(), in ResolveMethod()
932 dex_compilation_unit.GetDexCache().Get(), in ResolveMethod()
2028 dex_compilation_unit_->GetDexCache(), in ResolveField()
2057 dex_compilation_unit_->GetDexCache().Get(), in ResolveField()
2075 dex_compilation_unit_->GetDexCache().Get(), in ResolveField()
2436 type_index, dex_compilation_unit_->GetDexCache(), dex_compilation_unit_->GetClassLoader()); in ResolveClass()
3582 type_index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in LookupResolvedType()
/aosp12/art/runtime/entrypoints/
H A 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()
610 ArtField* resolved_field = referrer->GetDexCache()->GetResolvedField(field_idx); in FindFieldFast()
654 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in FindMethodFast()
H A Dentrypoint_utils.cc276 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode()
279 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodTypeFromCode()
/aosp12/art/test/800-smali/
H A Djni.cc34 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); in Java_Main_isAotVerified()
/aosp12/art/runtime/dex/
H A Ddex_file_annotations.cc95 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()
1549 hs.NewHandle(data.GetDexCache()), in GetEnclosingClass()
[all …]
/aosp12/art/test/661-oat-writer-layout/
H A Doat_writer_layout.cc58 OatFile::OatClass oat_class = OatFile::FindOatClass(*klass_ptr->GetDexCache()->GetDexFile(), in Java_Main_hasOatCompiledCode()
/aosp12/art/compiler/dex/
H A 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()
/aosp12/art/compiler/driver/
H A Ddex_compilation_unit.h113 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() function
/aosp12/art/test/626-const-class-linking/
H A Dclear_dex_cache_types.cc29 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_nativeClearResolvedTypes()
/aosp12/art/runtime/interpreter/mterp/
H A Dnterp.cc341 executing_class->GetDexCache(), in NterpGetMethod()
427 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(caller->GetDexCache())); in ResolveFieldWithAccessChecks()
445 caller->GetDexCache(), in ResolveFieldWithAccessChecks()
/aosp12/art/compiler/
H A Dexception_test.cc67 dex_ = my_klass_->GetDexCache()->GetDexFile(); in SetUp()
/aosp12/art/dex2oat/driver/
H A Dcompiler_driver.cc1058 MutableHandle<mirror::DexCache> dex_cache = hs.NewHandle(java_lang_Throwable->GetDexCache()); in LoadImageClasses()
1222 DCHECK(!Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) in operator ()()
1311 Handle<mirror::DexCache> dex_cache(mUnit->GetDexCache()); in ComputeInstanceFieldInfo()
1470 const DexFile& original_dex_file = *klass->GetDexCache()->GetDexFile(); in SkipClass()
2150 runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in TryInitializeClass()
2338 Handle<mirror::DexCache> dex_cache = hs.NewHandle(klass->GetDexCache()); in InternStrings()
2603 dex_cache = hs.NewHandle(klass->GetDexCache()); in CompileDexFile()
/aosp12/art/runtime/verifier/
H A Dclass_verifier.cc188 Handle<mirror::DexCache> dex_cache(hs.NewHandle(klass->GetDexCache())); in CommonVerifyClass()

123