/art/compiler/ |
D | elf_patcher.cc | 43 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Patch() local 44 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location); in Patch() 53 CHECK_EQ(class_linker->RegisterOatFile(oat_file), oat_file); in Patch() 78 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetTargetMethod() local 81 hs.NewHandle(class_linker->FindDexCache(*patch->GetTargetDexFile()))); in GetTargetMethod() 82 mirror::ArtMethod* method = class_linker->ResolveMethod(*patch->GetTargetDexFile(), in GetTargetMethod() 100 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetTargetString() local 102 Handle<mirror::DexCache> dex_cache(hs.NewHandle(class_linker->FindDexCache(patch->GetDexFile()))); in GetTargetString() 103 mirror::String* string = class_linker->ResolveString(patch->GetDexFile(), patch->GetStringIdx(), in GetTargetString() 110 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetTargetType() local [all …]
|
D | oat_test.cc | 89 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 113 compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings); in TEST_F() 120 OatWriter oat_writer(class_linker->GetBootClassPath(), in TEST_F() 129 class_linker->GetBootClassPath(), in TEST_F() 135 compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings); in TEST_F() 164 mirror::Class* klass = class_linker->FindClass(soa.Self(), descriptor, in TEST_F()
|
D | image_test.cc | 67 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 75 for (const DexFile* dex_file : class_linker->GetBootClassPath()) { in TEST_F() 78 compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings); in TEST_F() 83 … OatWriter oat_writer(class_linker->GetBootClassPath(), 0, 0, 0, compiler_driver_.get(), &timings, in TEST_F() 87 class_linker->GetBootClassPath(), in TEST_F()
|
D | image_writer.cc | 86 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Write() local 101 CHECK_EQ(class_linker->RegisterOatFile(oat_file_), oat_file_); in Write() 441 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeLazyFieldsForImageClasses() local 442 class_linker->VisitClassesWithoutClassesLock(ComputeLazyFieldsForClassesVisitor, NULL); in ComputeLazyFieldsForImageClasses() 608 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeEagerResolvedStringsCallback() local 609 ReaderMutexLock mu(Thread::Current(), *class_linker->DexLock()); in ComputeEagerResolvedStringsCallback() 610 size_t dex_cache_count = class_linker->GetDexCacheCount(); in ComputeEagerResolvedStringsCallback() 612 DexCache* dex_cache = class_linker->GetDexCache(i); in ComputeEagerResolvedStringsCallback() 650 ClassLinker* class_linker = runtime->GetClassLinker(); in PruneNonImageClasses() local 657 class_linker->VisitClasses(NonImageClassesVisitor, &context); in PruneNonImageClasses() [all …]
|
/art/compiler/driver/ |
D | dex_compilation_unit.cc | 29 class_linker_(cu->class_linker), in DexCompilationUnit() 40 ClassLinker* class_linker, in DexCompilationUnit() argument 49 class_linker_(class_linker), in DexCompilationUnit()
|
D | compiler_driver.cc | 523 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetDexToDexCompilationlevel() local 524 mirror::Class* klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationlevel() 723 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in LoadImageClasses() local 729 hs.NewHandle(class_linker->FindSystemClass(self, descriptor.c_str()))); in LoadImageClasses() 745 hs.NewHandle(class_linker->FindSystemClass(self, "Ljava/lang/Throwable;"))); in LoadImageClasses() 748 class_linker->VisitClasses(ResolveCatchBlockExceptionsClassVisitor, in LoadImageClasses() 754 Handle<mirror::DexCache> dex_cache(hs.NewHandle(class_linker->FindDexCache(*dex_file))); in LoadImageClasses() 756 class_linker->ResolveType(*dex_file, exception_type_idx, dex_cache, in LoadImageClasses() 772 class_linker->VisitClasses(RecordImageClassesVisitor, image_classes_.get()); in LoadImageClasses() 1450 ParallelCompilationManager(ClassLinker* class_linker, in ParallelCompilationManager() argument [all …]
|
D | compiler_driver-inl.h | 264 ClassLinker* class_linker = mUnit->GetClassLinker(); in IsFastInvoke() local 266 called_method = class_linker->ResolveMethod(*devirt_target->dex_file, in IsFastInvoke() 273 hs.NewHandle(class_linker->FindDexCache(*devirt_target->dex_file))); in IsFastInvoke() 274 called_method = class_linker->ResolveMethod(*devirt_target->dex_file, in IsFastInvoke()
|
D | dex_compilation_unit.h | 38 DexCompilationUnit(CompilationUnit* cu, jobject class_loader, ClassLinker* class_linker,
|
D | compiler_driver_test.cc | 79 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in MakeDexFileExecutable() local 87 mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); in MakeDexFileExecutable()
|
/art/runtime/ |
D | instrumentation.cc | 99 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in UpdateEntrypoints() local 101 quick_code == class_linker->GetQuickToInterpreterBridgeTrampoline() || in UpdateEntrypoints() 102 (quick_code == class_linker->GetQuickResolutionTrampoline() && in UpdateEntrypoints() 110 } else if (quick_code == class_linker->GetQuickResolutionTrampoline()) { in UpdateEntrypoints() 112 DCHECK(portable_code == class_linker->GetPortableResolutionTrampoline()); in UpdateEntrypoints() 138 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in InstallStubsForMethod() local 152 new_portable_code = class_linker->GetPortableOatCodeFor(method, &have_portable_code); in InstallStubsForMethod() 154 new_quick_code = class_linker->GetQuickOatCodeFor(method); in InstallStubsForMethod() 157 new_portable_code = class_linker->GetPortableResolutionTrampoline(); in InstallStubsForMethod() 159 new_quick_code = class_linker->GetQuickResolutionTrampoline(); in InstallStubsForMethod() [all …]
|
D | monitor_test.cc | 59 static void FillHeap(Thread* self, ClassLinker* class_linker, in FillHeap() argument 67 Handle<mirror::Class> c((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 70 Handle<mirror::Class> ca((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 290 static void CommonWaitSetup(MonitorTest* test, ClassLinker* class_linker, uint64_t create_sleep, in CommonWaitSetup() argument 316 FillHeap(self, class_linker, &hsp, &handles); in CommonWaitSetup()
|
D | reflection.cc | 740 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in UnboxPrimitive() local 743 src_class = class_linker->FindPrimitiveClass('Z'); in UnboxPrimitive() 746 src_class = class_linker->FindPrimitiveClass('B'); in UnboxPrimitive() 749 src_class = class_linker->FindPrimitiveClass('C'); in UnboxPrimitive() 752 src_class = class_linker->FindPrimitiveClass('F'); in UnboxPrimitive() 755 src_class = class_linker->FindPrimitiveClass('D'); in UnboxPrimitive() 758 src_class = class_linker->FindPrimitiveClass('I'); in UnboxPrimitive() 761 src_class = class_linker->FindPrimitiveClass('J'); in UnboxPrimitive() 764 src_class = class_linker->FindPrimitiveClass('S'); in UnboxPrimitive()
|
D | runtime.cc | 1207 ClassLinker* class_linker = runtime->GetClassLinker(); in CreateImtConflictMethod() local 1209 Handle<mirror::ArtMethod> method(hs.NewHandle(class_linker->AllocArtMethod(self))); in CreateImtConflictMethod() 1221 method->SetEntryPointFromPortableCompiledCode(class_linker->GetPortableImtConflictTrampoline()); in CreateImtConflictMethod() 1223 method->SetEntryPointFromQuickCompiledCode(class_linker->GetQuickImtConflictTrampoline()); in CreateImtConflictMethod() 1231 ClassLinker* class_linker = runtime->GetClassLinker(); in CreateResolutionMethod() local 1233 Handle<mirror::ArtMethod> method(hs.NewHandle(class_linker->AllocArtMethod(self))); in CreateResolutionMethod() 1245 method->SetEntryPointFromPortableCompiledCode(class_linker->GetPortableResolutionTrampoline()); in CreateResolutionMethod() 1247 method->SetEntryPointFromQuickCompiledCode(class_linker->GetQuickResolutionTrampoline()); in CreateResolutionMethod() 1255 ClassLinker* class_linker = runtime->GetClassLinker(); in CreateCalleeSaveMethod() local 1257 Handle<mirror::ArtMethod> method(hs.NewHandle(class_linker->AllocArtMethod(self))); in CreateCalleeSaveMethod()
|
D | parsed_options_test.cc | 71 EXPECT_TRUE(VLOG_IS_ON(class_linker)); in TEST_F()
|
/art/runtime/native/ |
D | java_lang_reflect_Proxy.cc | 30 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Proxy_generateProxy() local 31 mirror::Class* result = class_linker->CreateProxyClass(soa, name, interfaces, loader, methods, in Proxy_generateProxy()
|
D | java_lang_Class.cc | 65 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Class_classForName() local 67 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader))); in Class_classForName() 81 class_linker->EnsureInitialized(c, true, true); in Class_classForName()
|
D | dalvik_system_DexFile.cc | 173 VLOG(class_linker) << "Failed to find dex_file"; in DexFile_defineClassNative() 178 VLOG(class_linker) << "Failed to find class_name"; in DexFile_defineClassNative() 187 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DexFile_defineClassNative() local 188 class_linker->RegisterDexFile(*dex_file); in DexFile_defineClassNative() 192 mirror::Class* result = class_linker->DefineClass(soa.Self(), descriptor.c_str(), hash, in DexFile_defineClassNative() 195 VLOG(class_linker) << "DexFile_defineClassNative returning " << result; in DexFile_defineClassNative() 200 VLOG(class_linker) << "Failed to find dex_class_def"; in DexFile_defineClassNative() 396 ClassLinker* class_linker = runtime->GetClassLinker(); in CopyProfileFile() local 400 const std::vector<const DexFile*>& boot_class_path = class_linker->GetBootClassPath(); in CopyProfileFile()
|
D | java_lang_reflect_Array.cc | 55 ClassLinker* class_linker = runtime->GetClassLinker(); in Array_createObjectArray() local 56 mirror::Class* array_class = class_linker->FindArrayClass(soa.Self(), &element_class); in Array_createObjectArray()
|
/art/runtime/mirror/ |
D | array.cc | 94 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CreateMultiArray() local 98 hs.NewHandle(class_linker->FindArrayClass(self, &element_class_ptr))); in CreateMultiArray() 105 array_class.Assign(class_linker->FindArrayClass(self, &array_class_ptr)); in CreateMultiArray()
|
D | class.cc | 60 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in SetStatus() local 61 bool class_linker_initialized = class_linker != nullptr && class_linker->IsInitialized(); in SetStatus() 763 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetDirectInterface() local 765 return class_linker->FindSystemClass(self, "Ljava/lang/Cloneable;"); in GetDirectInterface() 768 return class_linker->FindSystemClass(self, "Ljava/io/Serializable;"); in GetDirectInterface()
|
D | art_method-inl.h | 192 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in AssertPcIsWithinQuickCode() local 193 if (code == class_linker->GetQuickResolutionTrampoline() || in AssertPcIsWithinQuickCode() 194 code == class_linker->GetQuickToInterpreterBridgeTrampoline()) { in AssertPcIsWithinQuickCode()
|
/art/compiler/llvm/ |
D | compiler_llvm.cc | 212 art::ClassLinker *class_linker = art::Runtime::Current()->GetClassLinker(); in ArtCompileMethod() local 215 NULL, class_loader, class_linker, dex_file, code_item, in ArtCompileMethod() 225 art::ClassLinker *class_linker = art::Runtime::Current()->GetClassLinker(); in ArtLLVMJniCompileMethod() local 228 nullptr, nullptr, class_linker, dex_file, nullptr, in ArtLLVMJniCompileMethod()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 274 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in FindFieldFromCode() local 275 mirror::ArtField* resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 319 if (LIKELY(class_linker->EnsureInitialized(h_class, true, true))) { in FindFieldFromCode() 356 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in FindMethodFromCode() local 357 mirror::ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer, type); in FindMethodFromCode() 363 resolved_method = class_linker->ResolveMethod(self, method_idx, referrer, type); in FindMethodFromCode() 579 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ResolveVerifyAndClinit() local 580 mirror::Class* klass = class_linker->ResolveType(type_idx, referrer); in ResolveVerifyAndClinit() 604 if (!class_linker->EnsureInitialized(h_class, true, true)) { in ResolveVerifyAndClinit() 613 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ResolveStringFromCode() local [all …]
|
/art/compiler/dex/ |
D | compiler_ir.h | 53 ClassLinker* class_linker; // Linker to resolve fields and methods. member
|
D | frontend.cc | 481 class_linker(nullptr), in CompilationUnit() 647 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CompileMethod() local 651 cu.class_linker = class_linker; in CompileMethod()
|