/art/compiler/driver/ |
D | compiler_driver_test.cc | 82 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in MakeDexFileExecutable() local 90 mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); in MakeDexFileExecutable() 92 const auto pointer_size = class_linker->GetImagePointerSize(); in MakeDexFileExecutable() 210 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 215 mirror::Class* klass = class_linker->FindClass(self, "LStaticLeafMethods;", h_loader); in TEST_F() 220 const auto pointer_size = class_linker->GetImagePointerSize(); in TEST_F() 227 EXPECT_FALSE(class_linker->IsQuickToInterpreterBridge(code)); in TEST_F() 229 EXPECT_TRUE(class_linker->IsQuickToInterpreterBridge(code)); in TEST_F() 271 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckCompiledMethods() local 277 mirror::Class* klass = class_linker->FindClass(self, clazz.c_str(), h_loader); in CheckCompiledMethods() [all …]
|
D | dex_compilation_unit.cc | 25 ClassLinker* class_linker, in DexCompilationUnit() argument 34 class_linker_(class_linker), in DexCompilationUnit()
|
D | compiler_driver.cc | 376 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in SetupIntrinsic() local 377 PointerSize image_size = class_linker->GetImagePointerSize(); in SetupIntrinsic() 378 mirror::Class* cls = class_linker->FindSystemClass(self, class_name); in SetupIntrinsic() 460 ClassLinker* class_linker = runtime->GetClassLinker(); in GetDexToDexCompilationLevel() local 461 mirror::Class* klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationLevel() 790 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in ResolveConstStrings() local 800 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache); in ResolveConstStrings() 818 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in ResolveConstStrings() local 822 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in ResolveConstStrings() 897 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in EnsureVerifiedOrVerifyAtRuntime() local [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 88 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetResolvedMethod() local 91 mirror::Class* klass = class_linker->LookupClass(self, descriptor, class_loader); in GetResolvedMethod() 254 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckArrayAlloc() local 255 klass = class_linker->ResolveType(type_idx, method); in CheckArrayAlloc() 340 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in FindFieldFromCode() local 356 resolved_field = class_linker->ResolveFieldJLS(*method->GetDexFile(), in FindFieldFromCode() 363 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 407 if (LIKELY(class_linker->EnsureInitialized(self, hs.NewHandle(fields_class), true, true))) { in FindFieldFromCode() 445 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in FindMethodFromCode() local 446 ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, referrer); in FindMethodFromCode() [all …]
|
/art/runtime/native/ |
D | java_lang_reflect_Proxy.cc | 32 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Proxy_generateProxy() local 33 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
|
D | dalvik_system_DexFile.cc | 323 ClassLinker* const class_linker = runtime->GetClassLinker(); in DexFile_closeDexFile() local 329 if (!class_linker->IsDexFileRegistered(soa.Self(), *dex_file)) { in DexFile_closeDexFile() 344 VLOG(class_linker) << "Unregistering " << oat_file; in DexFile_closeDexFile() 359 VLOG(class_linker) << "Failed to find dex_file"; in DexFile_defineClassNative() 366 VLOG(class_linker) << "Failed to find class_name"; in DexFile_defineClassNative() 376 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DexFile_defineClassNative() local 381 class_linker->RegisterDexFile(*dex_file, class_loader.Get()); in DexFile_defineClassNative() 387 ObjPtr<mirror::Class> result = class_linker->DefineClass(soa.Self(), in DexFile_defineClassNative() 395 class_linker->InsertDexFileInToClassLoader(soa.Decode<mirror::Object>(dexFile), in DexFile_defineClassNative() 398 VLOG(class_linker) << "DexFile_defineClassNative returning " << result in DexFile_defineClassNative() [all …]
|
D | java_lang_reflect_Array.cc | 59 ClassLinker* class_linker = runtime->GetClassLinker(); in Array_createObjectArray() local 60 ObjPtr<mirror::Class> array_class = class_linker->FindArrayClass(soa.Self(), &element_class); in Array_createObjectArray()
|
/art/runtime/ |
D | handle_scope_test.cc | 47 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 53 ObjPtr<mirror::Class> c = class_linker->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F() 94 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 96 hs.NewHandle(class_linker->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
|
D | imtable_test.cc | 45 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in LoadClasses() local 55 hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader))); in LoadClasses() 65 hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader))); in LoadClasses()
|
D | instrumentation.cc | 128 ClassLinker* const class_linker = runtime->GetClassLinker(); in InstallStubsForMethod() local 137 new_quick_code = class_linker->GetQuickOatCodeFor(method); in InstallStubsForMethod() 158 new_quick_code = class_linker->GetQuickOatCodeFor(method); in InstallStubsForMethod() 711 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in UpdateMethodsCodeImpl() local 712 if (class_linker->IsQuickResolutionStub(quick_code) || in UpdateMethodsCodeImpl() 713 class_linker->IsQuickToInterpreterBridge(quick_code)) { in UpdateMethodsCodeImpl() 815 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Undeoptimize() local 822 : class_linker->GetQuickOatCodeFor(method); in Undeoptimize() 905 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetQuickCodeFor() local 909 if (LIKELY(!class_linker->IsQuickResolutionStub(code) && in GetQuickCodeFor() [all …]
|
D | reference_table_test.cc | 43 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CreateWeakReference() local 49 class_linker->FindClass(self, in CreateWeakReference() 53 CHECK(class_linker->EnsureInitialized(self, h_ref_class, true, true)); in CreateWeakReference() 60 "<init>", "(Ljava/lang/Object;)V", class_linker->GetImagePointerSize()); in CreateWeakReference()
|
D | monitor_test.cc | 61 static void FillHeap(Thread* self, ClassLinker* class_linker, in FillHeap() argument 69 Handle<mirror::Class> c((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 72 Handle<mirror::Class> ca((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 291 static void CommonWaitSetup(MonitorTest* test, ClassLinker* class_linker, uint64_t create_sleep, in CommonWaitSetup() argument 312 FillHeap(soa.Self(), class_linker, &hsp, &handles); in CommonWaitSetup()
|
/art/runtime/mirror/ |
D | method_type_test.cc | 44 ClassLinker* const class_linker = runtime->GetClassLinker(); in CreateMethodType() local 52 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 57 mirror::Class* class_array_type = class_linker->FindArrayClass(self, &class_type); in CreateMethodType() 62 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass( in CreateMethodType()
|
D | array.cc | 96 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CreateMultiArray() local 100 hs.NewHandle(class_linker->FindArrayClass(self, &element_class_ptr))); in CreateMultiArray() 107 array_class.Assign(class_linker->FindArrayClass(self, &array_class_ptr)); in CreateMultiArray()
|
/art/runtime/openjdkjvmti/ |
D | ti_search.cc | 61 art::ClassLinker* class_linker) in GetSystemProperties() argument 64 class_linker->LookupClass(self, "Ljava/lang/System;", nullptr); in GetSystemProperties() 85 art::ClassLinker* class_linker = art::Runtime::Current()->GetClassLinker(); in Update() local 86 DCHECK(class_linker != nullptr); in Update() 91 class_linker->LookupClass(self, "Ljava/util/Properties;", nullptr); in Update() 96 art::ObjPtr<art::mirror::Object> props_obj = GetSystemProperties(self, class_linker); in Update()
|
D | ti_class_loader.cc | 149 art::ClassLinker* class_linker = art::Runtime::Current()->GetClassLinker(); in FindSourceDexFileObject() local 153 art::Handle<art::mirror::Class> base_dex_loader_class(hs.NewHandle(class_linker->FindClass( in FindSourceDexFileObject() 162 class_linker->FindClass(self, dex_path_list_name, null_loader) in FindSourceDexFileObject() 167 class_linker->FindClass(self, dex_path_list_element_name, null_loader) in FindSourceDexFileObject()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 957 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 962 class_linker->FindClass(self, in TEST_F() 966 ASSERT_TRUE(class_linker->EnsureInitialized(self, floating_decimal, true, true)); in TEST_F() 971 class_linker->GetImagePointerSize()); in TEST_F() 991 &*class_class->GetDeclaredMethods(class_linker->GetImagePointerSize()).begin(); in TEST_F() 1014 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 1016 class_linker->FindClass(self, in TEST_F() 1020 ASSERT_TRUE(class_linker->EnsureInitialized(self, double_class, true, true)); in TEST_F() 1024 class_linker->GetImagePointerSize()); in TEST_F() 1052 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local [all …]
|
/art/compiler/optimizing/ |
D | sharpening.cc | 236 ClassLinker* class_linker = runtime->GetClassLinker(); in ProcessLoadString() local 241 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); in ProcessLoadString() 248 string = class_linker->ResolveString(dex_file, string_index, dex_cache); in ProcessLoadString() 262 string = class_linker->LookupString(dex_file, string_index, dex_cache.Get()); in ProcessLoadString() 274 string = class_linker->LookupString(dex_file, string_index, dex_cache.Get()); in ProcessLoadString()
|
D | inliner.cc | 450 ClassLinker* class_linker = compilation_unit.GetClassLinker(); in AllocateInlineCacheHolder() local 454 class_linker->GetClassRoot(ClassLinker::kClassArrayClass), in AllocateInlineCacheHolder() 691 HInstanceFieldGet* HInliner::BuildGetReceiverClass(ClassLinker* class_linker, in BuildGetReceiverClass() argument 694 ArtField* field = class_linker->GetClassRoot(ClassLinker::kJavaLangObject)->GetInstanceField(0); in BuildGetReceiverClass() 753 ClassLinker* class_linker = caller_compilation_unit_.GetClassLinker(); in TryInlineMonomorphicCall() local 754 PointerSize pointer_size = class_linker->GetImagePointerSize(); in TryInlineMonomorphicCall() 832 ClassLinker* class_linker = caller_compilation_unit_.GetClassLinker(); in AddTypeGuard() local 834 class_linker, receiver, invoke_instruction->GetDexPc()); in AddTypeGuard() 908 ClassLinker* class_linker = caller_compilation_unit_.GetClassLinker(); in TryInlinePolymorphicCall() local 909 PointerSize pointer_size = class_linker->GetImagePointerSize(); in TryInlinePolymorphicCall() [all …]
|
D | intrinsics.cc | 232 ClassLinker* class_linker = runtime->GetClassLinker(); in ComputeIntegerValueOfInfo() local 235 info.integer_cache = class_linker->FindSystemClass(self, "Ljava/lang/Integer$IntegerCache;"); in ComputeIntegerValueOfInfo() 244 info.integer = class_linker->FindSystemClass(self, "Ljava/lang/Integer;"); in ComputeIntegerValueOfInfo()
|
/art/compiler/dex/ |
D | dex_to_dex_compiler.cc | 283 ClassLinker* class_linker = unit_.GetClassLinker(); in CompileInvokeVirtual() local 284 ArtMethod* resolved_method = class_linker->ResolveMethod<ClassLinker::kForceICCECheck>( in CompileInvokeVirtual() 332 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in ArtCompileDEX() local 335 class_linker, in ArtCompileDEX() 342 hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file))); in ArtCompileDEX()
|
/art/compiler/ |
D | oat_test.cc | 207 ClassLinker* const class_linker = runtime->GetClassLinker(); in DoWriteElf() local 212 class_linker->RegisterDexFile(*dex_file, nullptr); in DoWriteElf() 389 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 400 compiler_driver_->SetDexFilesForOatFile(class_linker->GetBootClassPath()); in TEST_F() 402 class_loader, class_linker->GetBootClassPath(), /* verifier_deps */ nullptr, &timings2); in TEST_F() 410 class_linker->GetBootClassPath(), in TEST_F() 417 class_loader, class_linker->GetBootClassPath(), /* verifier_deps */ nullptr, &timings); in TEST_F() 430 ASSERT_EQ(class_linker->GetBootClassPath().size(), oat_header.GetDexFileCount()); // core in TEST_F() 443 auto pointer_size = class_linker->GetImagePointerSize(); in TEST_F() 455 mirror::Class* klass = class_linker->FindClass(soa.Self(), in TEST_F() [all …]
|
/art/runtime/base/ |
D | logging.h | 38 bool class_linker; // Enabled with "-verbose:class". member
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 872 static mirror::Class* FindClassAndClearException(ClassLinker* class_linker, in FindClassAndClearException() argument 877 mirror::Class* result = class_linker->FindClass(self, name, class_loader); in FindClassAndClearException() 891 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in VerifyAssignability() local 898 FindClassAndClearException(class_linker, self, destination_desc.c_str(), class_loader)); in VerifyAssignability() 901 FindClassAndClearException(class_linker, self, source_desc.c_str(), class_loader)); in VerifyAssignability() 931 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in VerifyClasses() local 935 cls.Assign(FindClassAndClearException(class_linker, self, descriptor, class_loader)); in VerifyClasses() 975 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in VerifyFields() local 986 class_linker, self, expected_decl_klass.c_str(), class_loader); in VerifyFields() 1035 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in VerifyMethods() local [all …]
|
/art/runtime/gc/ |
D | heap_verification_test.cc | 38 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in AllocObjectArray() local 41 class_linker->GetClassRoot(ClassLinker::ClassRoot::kObjectArrayClass), in AllocObjectArray()
|