/art/runtime/ |
D | runtime_intrinsics.cc | 41 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in InitializeIntrinsic() local 42 PointerSize image_size = class_linker->GetImagePointerSize(); in InitializeIntrinsic() 43 ObjPtr<mirror::Class> cls = class_linker->FindSystemClass(self, class_name); in InitializeIntrinsic()
|
D | module_exclusion_test.cc | 56 ClassLinker* class_linker = runtime->GetClassLinker(); in DoTest() local 58 Handle<mirror::ClassLoader> class_loader = hs.NewHandle(LoadModule(soa, class_linker)); in DoTest() 64 dex_cache.Assign(class_linker->RegisterDexFile(*dex_file, class_loader.Get())); in DoTest() 68 class_linker->ResolveType(class_def.class_idx_, dex_cache, class_loader); in DoTest() 92 ObjPtr<mirror::ClassLoader> LoadModule(ScopedObjectAccess& soa, ClassLinker* class_linker) in LoadModule() argument 110 ObjPtr<mirror::ClassLoader> result = class_linker->CreateWellKnownClassLoader( in LoadModule() 123 CHECK(class_linker->IsBootClassLoader(soa, actual_parent)); in LoadModule()
|
D | handle_scope_test.cc | 48 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 54 ObjPtr<mirror::Class> c = class_linker->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F() 95 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 97 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_test.cc | 504 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local 507 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() 524 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local 528 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() 545 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local 548 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() 580 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local 583 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() 598 ClassLinker* class_linker = runtime->GetClassLinker(); in TEST_F() local 601 ObjPtr<mirror::Class> klass = class_linker->FindClass(soa.Self(), "LInstrumentation;", loader); in TEST_F() [all …]
|
D | native_stack_dump.cc | 304 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in PcIsWithinQuickCode() local 305 if (class_linker->IsQuickGenericJniStub(entry_point) || in PcIsWithinQuickCode() 306 class_linker->IsQuickResolutionStub(entry_point) || in PcIsWithinQuickCode() 307 class_linker->IsQuickToInterpreterBridge(entry_point)) { in PcIsWithinQuickCode()
|
/art/compiler/optimizing/ |
D | intrinsics.cc | 76 ClassLinker* class_linker, in LookupInitializedClass() argument 80 class_linker->LookupClass(self, descriptor, /* class_loader= */ nullptr); in LookupInitializedClass() 101 ClassLinker* class_linker, in CheckIntegerCache() argument 110 LookupInitializedClass(self, class_linker, kIntegerCacheDescriptor); in CheckIntegerCache() 112 LookupInitializedClass(self, class_linker, kIntegerDescriptor); in CheckIntegerCache() 166 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeIntegerValueOfLocations() local 169 ObjPtr<mirror::Class> cache_class = class_linker->LookupClass( in ComputeIntegerValueOfLocations() 177 class_linker->LookupClass(self, kIntegerDescriptor, /* class_loader= */ nullptr); in ComputeIntegerValueOfLocations() 257 static int32_t GetIntegerCacheLowFromIntegerCache(Thread* self, ClassLinker* class_linker) in GetIntegerCacheLowFromIntegerCache() argument 260 LookupInitializedClass(self, class_linker, kIntegerCacheDescriptor); in GetIntegerCacheLowFromIntegerCache() [all …]
|
D | sharpening.cc | 316 ClassLinker* class_linker = runtime->GetClassLinker(); in ProcessLoadString() local 321 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); in ProcessLoadString() 338 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString() 340 string = class_linker->ResolveString(string_index, dex_cache); in ProcessLoadString() 359 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString() 379 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
|
D | intrinsic_objects.cc | 31 Thread* self, ClassLinker* class_linker) { in LookupIntegerCache() argument 32 ObjPtr<mirror::Class> integer_cache_class = class_linker->LookupClass( in LookupIntegerCache()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 199 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in NterpGetMethod() local 201 ? class_linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in NterpGetMethod() 203 : class_linker->ResolveMethod<ClassLinker::ResolveMode::kCheckICCEAndIAE>( in NterpGetMethod() 214 ObjPtr<mirror::Class> referenced_class = class_linker->LookupResolvedType( in NterpGetMethod() 229 resolved_method, class_linker->GetImagePointerSize()); in NterpGetMethod() 244 vtable_index, class_linker->GetImagePointerSize()); in NterpGetMethod() 279 ClassLinker* class_linker, in ResolveFieldWithAccessChecks() argument 286 return class_linker->ResolveField(field_index, caller, is_static); in ResolveFieldWithAccessChecks() 295 ArtField* resolved_field = class_linker->ResolveFieldJLS(field_index, in ResolveFieldWithAccessChecks() 325 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in NterpGetStaticField() local [all …]
|
/art/runtime/native/ |
D | java_lang_reflect_Proxy.cc | 35 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in Proxy_generateProxy() local 36 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
|
D | java_lang_reflect_Array.cc | 61 ClassLinker* class_linker = runtime->GetClassLinker(); in Array_createObjectArray() local 63 class_linker->FindArrayClass(soa.Self(), soa.Decode<mirror::Class>(javaElementClass)); in Array_createObjectArray()
|
D | dalvik_system_DexFile.cc | 392 ClassLinker* const class_linker = runtime->GetClassLinker(); in DexFile_closeDexFile() local 399 if (!class_linker->IsDexFileRegistered(soa.Self(), *dex_file)) { in DexFile_closeDexFile() 414 VLOG(class_linker) << "Unregistering " << oat_file; in DexFile_closeDexFile() 429 VLOG(class_linker) << "Failed to find dex_file"; in DexFile_defineClassNative() 436 VLOG(class_linker) << "Failed to find class_name"; in DexFile_defineClassNative() 446 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in DexFile_defineClassNative() local 451 class_linker->RegisterDexFile(*dex_file, class_loader.Get()); in DexFile_defineClassNative() 457 ObjPtr<mirror::Class> result = class_linker->DefineClass(soa.Self(), in DexFile_defineClassNative() 465 class_linker->InsertDexFileInToClassLoader(soa.Decode<mirror::Object>(dexFile), in DexFile_defineClassNative() 468 VLOG(class_linker) << "DexFile_defineClassNative returning " << result in DexFile_defineClassNative() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 78 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in GetResolvedMethod() local 84 ArtMethod* inlined_method = class_linker->LookupResolvedMethod(method_index, in GetResolvedMethod() 239 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckArrayAlloc() local 240 klass = class_linker->ResolveType(type_idx, method); in CheckArrayAlloc() 320 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in FindFieldFromCode() local 336 resolved_field = class_linker->ResolveFieldJLS(field_idx, in FindFieldFromCode() 342 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 389 if (LIKELY(class_linker->EnsureInitialized(self, hs.NewHandle(fields_class), true, true))) { in FindFieldFromCode() 431 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in FindMethodToCall() local 464 return klass->GetVTableEntry(vtable_index, class_linker->GetImagePointerSize()); in FindMethodToCall() [all …]
|
/art/runtime/mirror/ |
D | method_type_test.cc | 46 ClassLinker* const class_linker = runtime->GetClassLinker(); in CreateMethodType() local 54 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 59 GetClassRoot<mirror::ObjectArray<mirror::Class>>(class_linker); in CreateMethodType() 64 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass( in CreateMethodType()
|
D | array.cc | 99 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CreateMultiArray() local 102 hs.NewHandle(class_linker->FindArrayClass(self, element_class.Get()))); in CreateMultiArray() 108 array_class.Assign(class_linker->FindArrayClass(self, array_class.Get())); in CreateMultiArray()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 364 ClassLinker* class_linker = runtime->GetClassLinker(); in GetDexToDexCompilationLevel() local 365 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationLevel() 681 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in ResolveConstStrings() local 686 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in ResolveConstStrings() 733 ObjPtr<mirror::String> string = class_linker->ResolveString(string_index, dex_cache); in ResolveConstStrings() 759 ClassLinker* class_linker, in InitializeTypeCheckBitstrings() argument 777 class_linker->LookupResolvedType(type_index, in InitializeTypeCheckBitstrings() 801 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in InitializeTypeCheckBitstrings() local 805 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in InitializeTypeCheckBitstrings() 811 InitializeTypeCheckBitstrings(driver, class_linker, dex_cache, *dex_file, method); in InitializeTypeCheckBitstrings() [all …]
|
D | compiler_driver_test.cc | 94 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in MakeDexFileExecutable() local 102 ObjPtr<mirror::Class> c = class_linker->FindClass(soa.Self(), descriptor, loader); in MakeDexFileExecutable() 104 const auto pointer_size = class_linker->GetImagePointerSize(); in MakeDexFileExecutable() 236 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckCompiledMethods() local 242 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, clazz.c_str(), h_loader); in CheckCompiledMethods() 245 const auto pointer_size = class_linker->GetImagePointerSize(); in CheckCompiledMethods() 253 EXPECT_FALSE(class_linker->IsQuickToInterpreterBridge(code)); in CheckCompiledMethods() 255 EXPECT_TRUE(class_linker->IsQuickToInterpreterBridge(code)); in CheckCompiledMethods() 297 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckVerifiedClass() local 303 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, clazz.c_str(), h_loader); in CheckVerifiedClass()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 55 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in Java_Main_areClassesVerified() local 62 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesVerified() 149 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in Java_Main_areClassesPreverified() local 156 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesPreverified() 160 bool is_preverified = class_linker->VerifyClassUsingOatFile( in Java_Main_areClassesPreverified()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 77 ClassLinker* class_linker = runtime->GetClassLinker(); in Install() local 79 jobject class_loader = class_linker->CreatePathClassLoader(self, *out); in Install() 83 ObjPtr<mirror::DexCache> dex_cache = class_linker->RegisterDexFile( in Install() 231 ClassLinker* class_linker = runtime->GetClassLinker(); in ExecuteWithRuntime() local 239 h_klass.Assign(class_linker->FindClass(soa.Self(), descriptor, h_loader)); in ExecuteWithRuntime()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 943 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 948 class_linker->FindClass(self, in TEST_F() 952 ASSERT_TRUE(class_linker->EnsureInitialized(self, floating_decimal, true, true)); in TEST_F() 957 class_linker->GetImagePointerSize()); in TEST_F() 979 &*class_class->GetDeclaredMethods(class_linker->GetImagePointerSize()).begin(); in TEST_F() 999 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 1001 class_linker->FindClass(self, in TEST_F() 1005 ASSERT_TRUE(class_linker->EnsureInitialized(self, double_class, true, true)); in TEST_F() 1009 class_linker->GetImagePointerSize()); in TEST_F() 1042 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local [all …]
|
/art/compiler/driver/ |
D | dex_compilation_unit.cc | 31 ClassLinker* class_linker, in DexCompilationUnit() argument 41 class_linker_(class_linker), in DexCompilationUnit()
|
/art/openjdkjvmti/ |
D | ti_search.cc | 70 art::ClassLinker* class_linker) in GetSystemProperties() argument 73 class_linker->LookupClass(self, "Ljava/lang/System;", nullptr); in GetSystemProperties() 94 art::ClassLinker* class_linker = art::Runtime::Current()->GetClassLinker(); in Update() local 95 DCHECK(class_linker != nullptr); in Update() 100 class_linker->LookupClass(self, "Ljava/util/Properties;", nullptr); in Update() 105 art::ObjPtr<art::mirror::Object> props_obj = GetSystemProperties(self, class_linker); in Update()
|
/art/runtime/verifier/ |
D | reg_type_cache.h | 68 RegTypeCache(ClassLinker* class_linker, 73 static void Init(ClassLinker* class_linker) REQUIRES_SHARED(Locks::mutator_lock_) { in Init() argument 76 CreatePrimitiveAndSmallConstantTypes(class_linker); in Init() 190 static void CreatePrimitiveAndSmallConstantTypes(ClassLinker* class_linker)
|
D | method_verifier.h | 176 static void Init(ClassLinker* class_linker) REQUIRES_SHARED(Locks::mutator_lock_); 217 ClassLinker* class_linker, 250 ClassLinker* class_linker, 272 ClassLinker* class_linker,
|