Home
last modified time | relevance | path

Searched refs:class_linker (Results 1 – 25 of 46) sorted by relevance

12

/art/compiler/driver/
Dcompiler_driver_test.cc78 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in MakeDexFileExecutable() local
86 mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); in MakeDexFileExecutable()
88 const auto pointer_size = class_linker->GetImagePointerSize(); in MakeDexFileExecutable()
211 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local
216 mirror::Class* klass = class_linker->FindClass(self, "LStaticLeafMethods;", h_loader); in TEST_F()
221 const auto pointer_size = class_linker->GetImagePointerSize(); in TEST_F()
228 EXPECT_FALSE(class_linker->IsQuickToInterpreterBridge(code)); in TEST_F()
230 EXPECT_TRUE(class_linker->IsQuickToInterpreterBridge(code)); in TEST_F()
Ddex_compilation_unit.cc27 ClassLinker* class_linker, in DexCompilationUnit() argument
36 class_linker_(class_linker), in DexCompilationUnit()
Dcompiler_driver.cc520 ClassLinker* class_linker = runtime->GetClassLinker(); in GetDexToDexCompilationlevel() local
521 mirror::Class* klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationlevel()
766 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in LoadImageClasses() local
772 hs.NewHandle(class_linker->FindSystemClass(self, descriptor.c_str()))); in LoadImageClasses()
788 hs.NewHandle(class_linker->FindSystemClass(self, "Ljava/lang/Throwable;"))); in LoadImageClasses()
791 class_linker->VisitClasses(ResolveCatchBlockExceptionsClassVisitor, in LoadImageClasses()
797 Handle<mirror::DexCache> dex_cache(hs2.NewHandle(class_linker->FindDexCache(*dex_file))); in LoadImageClasses()
799 class_linker->ResolveType(*dex_file, exception_type_idx, dex_cache, in LoadImageClasses()
815 class_linker->VisitClasses(RecordImageClassesVisitor, image_classes_.get()); in LoadImageClasses()
1576 ParallelCompilationManager(ClassLinker* class_linker, in ParallelCompilationManager() argument
[all …]
Dcompiler_driver-inl.h366 ClassLinker* class_linker = mUnit->GetClassLinker(); in IsFastInvoke() local
368 called_method = class_linker->ResolveMethod( in IsFastInvoke()
373 auto target_dex_cache(hs.NewHandle(class_linker->FindDexCache(*devirt_target->dex_file))); in IsFastInvoke()
374 called_method = class_linker->ResolveMethod( in IsFastInvoke()
Ddex_compilation_unit.h39 DexCompilationUnit(CompilationUnit* cu, jobject class_loader, ClassLinker* class_linker,
/art/compiler/
Doat_test.cc78 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local
101 compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings2); in TEST_F()
107 OatWriter oat_writer(class_linker->GetBootClassPath(), in TEST_F()
117 class_linker->GetBootClassPath(), in TEST_F()
123 compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings); in TEST_F()
143 auto pointer_size = class_linker->GetImagePointerSize(); in TEST_F()
155 mirror::Class* klass = class_linker->FindClass(soa.Self(), descriptor, in TEST_F()
Dimage_writer.cc136 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Write() local
151 CHECK_EQ(class_linker->RegisterOatFile(oat_file_), oat_file_); in Write()
304 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in PrepareDexCacheArraySlots() local
305 ReaderMutexLock mu(Thread::Current(), *class_linker->DexLock()); in PrepareDexCacheArraySlots()
306 size_t dex_cache_count = class_linker->GetDexCacheCount(); in PrepareDexCacheArraySlots()
309 DexCache* dex_cache = class_linker->GetDexCache(idx); in PrepareDexCacheArraySlots()
543 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeLazyFieldsForImageClasses() local
544 class_linker->VisitClassesWithoutClassesLock(ComputeLazyFieldsForClassesVisitor, nullptr); in ComputeLazyFieldsForImageClasses()
561 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeEagerResolvedStringsCallback() local
562 ReaderMutexLock mu(Thread::Current(), *class_linker->DexLock()); in ComputeEagerResolvedStringsCallback()
[all …]
Dimage_test.cc72 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()
82 OatWriter oat_writer(class_linker->GetBootClassPath(), 0, 0, 0, compiler_driver_.get(), in TEST_F()
87 class_linker->GetBootClassPath(), in TEST_F()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h293 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in FindFieldFromCode() local
294 ArtField* resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode()
336 if (LIKELY(class_linker->EnsureInitialized(self, h_class, true, true))) { in FindFieldFromCode()
372 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in FindMethodFromCode() local
373 ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer); in FindMethodFromCode()
379 resolved_method = class_linker->ResolveMethod(self, method_idx, *referrer, type); in FindMethodFromCode()
422 return klass->GetVTableEntry(vtable_index, class_linker->GetImagePointerSize()); in FindMethodFromCode()
441 return super_class->GetVTableEntry(vtable_index, class_linker->GetImagePointerSize()); in FindMethodFromCode()
446 imt_index, class_linker->GetImagePointerSize()); in FindMethodFromCode()
451 resolved_method, class_linker->GetImagePointerSize()); in FindMethodFromCode()
[all …]
/art/runtime/native/
Djava_lang_reflect_Proxy.cc32 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Proxy_generateProxy() local
33 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
Ddalvik_system_DexFile.cc222 VLOG(class_linker) << "Failed to find dex_file"; in DexFile_defineClassNative()
229 VLOG(class_linker) << "Failed to find class_name"; in DexFile_defineClassNative()
238 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DexFile_defineClassNative() local
239 class_linker->RegisterDexFile(*dex_file); in DexFile_defineClassNative()
243 mirror::Class* result = class_linker->DefineClass(soa.Self(), descriptor.c_str(), hash, in DexFile_defineClassNative()
246 VLOG(class_linker) << "DexFile_defineClassNative returning " << result in DexFile_defineClassNative()
252 VLOG(class_linker) << "Failed to find dex_class_def " << class_name.c_str(); in DexFile_defineClassNative()
Djava_lang_reflect_Array.cc58 ClassLinker* class_linker = runtime->GetClassLinker(); in Array_createObjectArray() local
59 mirror::Class* array_class = class_linker->FindArrayClass(soa.Self(), &element_class); in Array_createObjectArray()
Djava_lang_Class.cc75 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Class_classForName() local
77 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader))); in Class_classForName()
91 class_linker->EnsureInitialized(soa.Self(), c, true, true); in Class_classForName()
/art/runtime/
Dart_method.cc309 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in AssertPcIsWithinQuickCode() local
310 if (class_linker->IsQuickToInterpreterBridge(code) || in AssertPcIsWithinQuickCode()
311 class_linker->IsQuickResolutionStub(code)) { in AssertPcIsWithinQuickCode()
337 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in IsEntrypointInterpreter() local
338 const void* oat_quick_code = class_linker->GetOatMethodQuickCodeFor(this); in IsEntrypointInterpreter()
347 ClassLinker* class_linker = runtime->GetClassLinker(); in GetQuickOatEntryPoint() local
352 if (class_linker->IsQuickToInterpreterBridge(code) || in GetQuickOatEntryPoint()
353 class_linker->IsQuickGenericJniStub(code)) { in GetQuickOatEntryPoint()
497 ClassLinker* class_linker = runtime->GetClassLinker(); in GetQuickFrameInfo() local
501 DCHECK(!class_linker->IsQuickToInterpreterBridge(entry_point)); in GetQuickFrameInfo()
[all …]
Dinstrumentation.cc103 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in UpdateEntrypoints() local
104 if (class_linker->IsQuickToInterpreterBridge(quick_code) || in UpdateEntrypoints()
105 (class_linker->IsQuickResolutionStub(quick_code) && in UpdateEntrypoints()
130 ClassLinker* const class_linker = runtime->GetClassLinker(); in InstallStubsForMethod() local
136 new_quick_code = class_linker->GetQuickOatCodeFor(method); in InstallStubsForMethod()
152 new_quick_code = class_linker->GetQuickOatCodeFor(method); in InstallStubsForMethod()
668 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in UpdateMethodsCode() local
669 if (class_linker->IsQuickResolutionStub(quick_code) || in UpdateMethodsCode()
670 class_linker->IsQuickToInterpreterBridge(quick_code)) { in UpdateMethodsCode()
758 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Undeoptimize() local
[all …]
Dmonitor_test.cc60 static void FillHeap(Thread* self, ClassLinker* class_linker, in FillHeap() argument
68 Handle<mirror::Class> c((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap()
71 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
317 FillHeap(self, class_linker, &hsp, &handles); in CommonWaitSetup()
Dreflection.cc782 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in UnboxPrimitive() local
785 src_class = class_linker->FindPrimitiveClass('Z'); in UnboxPrimitive()
788 src_class = class_linker->FindPrimitiveClass('B'); in UnboxPrimitive()
791 src_class = class_linker->FindPrimitiveClass('C'); in UnboxPrimitive()
794 src_class = class_linker->FindPrimitiveClass('F'); in UnboxPrimitive()
797 src_class = class_linker->FindPrimitiveClass('D'); in UnboxPrimitive()
800 src_class = class_linker->FindPrimitiveClass('I'); in UnboxPrimitive()
803 src_class = class_linker->FindPrimitiveClass('J'); in UnboxPrimitive()
806 src_class = class_linker->FindPrimitiveClass('S'); in UnboxPrimitive()
Dparsed_options_test.cc83 EXPECT_TRUE(VLOG_IS_ON(class_linker)); in TEST_F()
Dinstrumentation_test.cc435 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local
438 mirror::Class* klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F()
482 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local
485 mirror::Class* klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F()
/art/runtime/mirror/
Darray.cc95 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CreateMultiArray() local
99 hs.NewHandle(class_linker->FindArrayClass(self, &element_class_ptr))); in CreateMultiArray()
106 array_class.Assign(class_linker->FindArrayClass(self, &array_class_ptr)); in CreateMultiArray()
Dclass.cc61 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in SetStatus() local
62 bool class_linker_initialized = class_linker != nullptr && class_linker->IsInitialized(); in SetStatus()
756 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetDirectInterface() local
758 return class_linker->FindSystemClass(self, "Ljava/lang/Cloneable;"); in GetDirectInterface()
761 return class_linker->FindSystemClass(self, "Ljava/io/Serializable;"); in GetDirectInterface()
/art/compiler/optimizing/
Dinliner.cc81 ClassLinker* class_linker = caller_compilation_unit_.GetClassLinker(); in TryInline() local
83 ArtMethod* resolved_method = class_linker->FindDexCache(caller_dex_file)->GetResolvedMethod( in TryInline()
84 method_index, class_linker->GetImagePointerSize()); in TryInline()
/art/compiler/dex/
Dcompiler_ir.cc32 class_linker(linker), in CompilationUnit()
Dcompiler_ir.h175 ClassLinker* const class_linker; // Linker to resolve fields and methods. member
/art/runtime/verifier/
Dreg_type_cache.cc143 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ResolveClass() local
149 klass = class_linker->FindClass(self, descriptor, class_loader); in ResolveClass()
151 klass = class_linker->LookupClass(self, descriptor, ComputeModifiedUtf8Hash(descriptor), in ResolveClass()

12