Home
last modified time | relevance | path

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

123

/art/runtime/
Dclass_linker-inl.h77 referrer->GetDexCache<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
80 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveType()
96 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType()
100 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveType()
124 referrer->GetDexCache<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
126 type = DoLookupResolvedType(type_idx, referrer->GetDexCache(), referrer->GetClassLoader()); in LookupResolvedType()
136 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedType(type_idx); in LookupResolvedType()
138 type = DoLookupResolvedType(type_idx, referrer->GetDexCache(), referrer->GetClassLoader()); in LookupResolvedType()
244 ArtMethod* resolved_method = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedMethod( in GetResolvedMethod()
253 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod()
[all …]
Dart_method.cc73 ArtMethod* ret = declaring_class->FindInterfaceMethod(declaring_class->GetDexCache(), in GetCanonicalMethod()
148 Handle<mirror::DexCache> dex_cache(hs.NewHandle(GetDexCache())); in GetNameAsString()
200 if (GetDexCache() == other->GetDexCache()) { in HasSameNameAndSignature()
534 GetOatMethodIndexFromMethodIndex(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
537 OatFile::OatClass oat_class = OatFile::FindOatClass(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
547 auto* dex_cache = GetDexCache(); in EqualParameters()
Dart_field-inl.h332 inline ObjPtr<mirror::DexCache> ArtField::GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexCache() function
333 return GetDeclaringClass()->GetDexCache(); in GetDexCache()
337 return GetDexCache()->GetDexFile(); in GetDexFile()
343 ObjPtr<mirror::DexCache> dex_cache = GetDexCache(); in GetStringName()
Dart_method-inl.h178 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
325 inline mirror::DexCache* ArtMethod::GetDexCache() { in GetDexCache() function
328 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
Dhidden_api.h232 detail::IsCallerTrusted(caller, caller->GetClassLoader(), caller->GetDexCache()); in IsCallerTrusted()
Dcommon_throws.cc442 Thread::Current()->GetCurrentMethod(nullptr)->GetDeclaringClass()->GetDexCache(); in ThrowNullPointerExceptionForMethodAccess()
449 ObjPtr<mirror::DexCache> dex_cache = method->GetDeclaringClass()->GetDexCache(); in ThrowNullPointerExceptionForMethodAccess()
580 const DexFile* dex_file = method->GetDeclaringClass()->GetDexCache()->GetDexFile(); in ThrowNullPointerExceptionFromDexPC()
721 method->GetDeclaringClass()->GetDexCache()->GetDexFile(); in ThrowNullPointerExceptionFromDexPC()
Dart_field.h218 ObjPtr<mirror::DexCache> GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_);
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc35 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods()
70 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods()
73 soa.Decode<mirror::Class>(cls)->GetDexCache()->GetResolvedMethods(); in Java_Main_restoreResolvedMethods()
/art/runtime/mirror/
Dfield-inl.h57 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); in CreateFromArtField()
70 field->GetDexCache()->SetResolvedField(dex_field_index, field, kPointerSize); in CreateFromArtField()
Ddex_cache_test.cc90 EXPECT_TRUE(linear_alloc->Contains(klass->GetDexCache()->GetResolvedMethods())); in TEST_F()
106 EXPECT_EQ(klass1->GetDexCache(), klass2->GetDexCache()); in TEST_F()
114 klass1->GetDexCache(), in TEST_F()
Dfield.cc70 mirror::DexCache* const dex_cache = declaring_class->GetDexCache(); in GetArtField()
Dclass.cc628 ObjPtr<DexCache> this_dex_cache = GetDexCache(); in FindClassMethod()
662 if (klass->GetDexCache() == dex_cache) { in FindClassMethod()
872 if (GetDexCache() == dex_cache) { in FindDeclaredInstanceField()
912 if (dex_cache == GetDexCache()) { in FindDeclaredStaticField()
1069 type_idx, klass->GetDexCache(), klass->GetClassLoader()); in GetDirectInterface()
1110 ObjPtr<DexCache> dex_cache = GetDexCache(); in GetLocation()
1394 if (h_this->IsProxyClass() || h_this->GetDexCache() == nullptr) { in GetInnerClassFlags()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h80 method->GetDexCache(), in GetResolvedMethod()
244 ObjPtr<mirror::Class> klass = method->GetDexCache()->GetResolvedType(type_idx); in CheckArrayAlloc()
345 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(method->GetDexCache())); in FindFieldFromCode()
370 referrer->GetDexCache(), in FindFieldFromCode()
607 referrer->GetDexCache()->GetResolvedField(field_idx, kRuntimePointerSize); in FindFieldFast()
664 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in FindMethodFast()
752 ObjPtr<mirror::String> string = referrer->GetDexCache()->GetResolvedString(string_idx); in ResolveString()
755 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveString()
764 ObjPtr<mirror::String> string = referrer->GetDexCache()->GetResolvedString(string_idx); in ResolveStringFromCode()
767 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveStringFromCode()
/art/runtime/verifier/
Dmethod_verifier-inl.h47 inline mirror::DexCache* MethodVerifier::GetDexCache() { in GetDexCache() function
/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.cc635 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotation()
647 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotations()
665 if (!klass->IsProxyClass() && klass->GetDexCache() != nullptr) { in Class_getDeclaredClasses()
689 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingClass()
699 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingConstructorNative()
716 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingMethodNative()
740 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getInnerClassName()
754 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getSignatureAnnotation()
765 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isAnonymousClass()
780 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isDeclaredAnnotationPresent()
[all …]
/art/compiler/optimizing/
Dbuilder.cc123 dex_compilation_unit_->GetDexCache(), in BuildGraph()
195 dex_compilation_unit_->GetDexCache(), in BuildIntrinsicGraph()
Dinliner.cc282 if (cls->GetDexCache() == nullptr) { in FindClassIndexIn()
289 DCHECK_EQ(cls->GetDexCache(), compilation_unit.GetDexCache().Get()); in FindClassIndexIn()
298 index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in FindClassIndexIn()
863 outer_compilation_unit_.GetDexCache(), in TryInlineMonomorphicCall()
1063 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCall()
1259 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCallToSameTarget()
1387 outer_compilation_unit_.GetDexCache(), in TryInlineAndReplace()
1660 Handle<mirror::DexCache> dex_cache = handles_->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet()
1722 Handle<mirror::DexCache> dex_cache = NewHandleIfDifferent(resolved_method->GetDexCache(), in TryBuildAndInlineHelper()
1723 caller_compilation_unit_.GetDexCache(), in TryBuildAndInlineHelper()
[all …]
Dsharpening.cc257 ? dex_compilation_unit.GetDexCache() in ProcessLoadString()
/art/compiler/driver/
Ddex_compilation_unit.h112 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() function
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc28 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_nativeClearResolvedTypes()
/art/runtime/dex/
Ddex_file_annotations.cc75 ObjPtr<mirror::DexCache> GetDexCache() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexCache() function in art::__anon4bc6c7790111::ClassData
77 return method_->GetDexCache(); in GetDexCache()
79 return real_klass_->GetDexCache(); in GetDexCache()
347 hs.NewHandle(klass.GetDexCache()), in ProcessEncodedAnnotation()
460 dex::StringIndex(index), hs.NewHandle(klass.GetDexCache())); in ProcessAnnotationValue()
477 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
503 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
541 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
569 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
784 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/compiler/
Dexception_test.cc63 dex_ = my_klass_->GetDexCache()->GetDexFile(); in SetUp()
Dcommon_compiler_test.cc51 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); in MakeExecutable()

123