Home
last modified time | relevance | path

Searched refs:GetDexCache (Results 1 – 25 of 51) 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()
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()
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()
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()
140 return GetDeclaringClass()->GetDexCache(); in GetObsoleteDexCache()
195 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.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()
/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/compiler/optimizing/
Dbuilder.cc114 dex_compilation_unit_->GetDexCache(), in BuildGraph()
182 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()
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 …]
/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/runtime/native/
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 …]
/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()
610 ArtField* resolved_field = referrer->GetDexCache()->GetResolvedField(field_idx); in FindFieldFast()
654 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::__anon1fa1ee800111::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.cc341 executing_class->GetDexCache(), in NterpGetMethod()
427 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(caller->GetDexCache())); in ResolveFieldWithAccessChecks()
445 caller->GetDexCache(), in ResolveFieldWithAccessChecks()
/art/compiler/
Dexception_test.cc67 dex_ = my_klass_->GetDexCache()->GetDexFile(); in SetUp()
/art/runtime/verifier/
Dclass_verifier.cc188 Handle<mirror::DexCache> dex_cache(hs.NewHandle(klass->GetDexCache())); in CommonVerifyClass()
/art/dex2oat/driver/
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()

123