/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/compiler/optimizing/ |
D | intrinsics.cc | 77 ClassLinker* class_linker, in LookupInitializedClass() argument 81 class_linker->LookupClass(self, descriptor, /* class_loader= */ nullptr); in LookupInitializedClass() 102 ClassLinker* class_linker, in CheckIntegerCache() argument 111 LookupInitializedClass(self, class_linker, kIntegerCacheDescriptor); in CheckIntegerCache() 113 LookupInitializedClass(self, class_linker, kIntegerDescriptor); in CheckIntegerCache() 180 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in ComputeIntegerValueOfLocations() local 183 ObjPtr<mirror::Class> cache_class = class_linker->LookupClass( in ComputeIntegerValueOfLocations() 191 class_linker->LookupClass(self, kIntegerDescriptor, /* class_loader= */ nullptr); in ComputeIntegerValueOfLocations() 268 static int32_t GetIntegerCacheLowFromIntegerCache(Thread* self, ClassLinker* class_linker) in GetIntegerCacheLowFromIntegerCache() argument 271 LookupInitializedClass(self, class_linker, kIntegerCacheDescriptor); in GetIntegerCacheLowFromIntegerCache() [all …]
|
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()
|
D | sharpening.cc | 372 ClassLinker* class_linker = runtime->GetClassLinker(); in ProcessLoadString() local 377 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); in ProcessLoadString() 394 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString() 396 string = class_linker->ResolveString(string_index, dex_cache); in ProcessLoadString() 415 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString() 435 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
|
/art/runtime/ |
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 | runtime_intrinsics.cc | 38 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in FindIntrinsicMethod() local 39 PointerSize image_size = class_linker->GetImagePointerSize(); in FindIntrinsicMethod() 40 ObjPtr<mirror::Class> cls = class_linker->FindSystemClass(self, class_name); in FindIntrinsicMethod()
|
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 …]
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 324 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in NterpGetMethod() local 326 ? class_linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in NterpGetMethod() 328 : class_linker->ResolveMethod<ClassLinker::ResolveMode::kCheckICCEAndIAE>( in NterpGetMethod() 339 ObjPtr<mirror::Class> referenced_class = class_linker->LookupResolvedType( in NterpGetMethod() 354 resolved_method, class_linker->GetImagePointerSize()); in NterpGetMethod() 369 vtable_index, class_linker->GetImagePointerSize()); in NterpGetMethod() 413 ClassLinker* class_linker, in ResolveFieldWithAccessChecks() argument 421 return class_linker->ResolveField(field_index, caller, is_static); in ResolveFieldWithAccessChecks() 430 ArtField* resolved_field = class_linker->ResolveFieldJLS(field_index, in ResolveFieldWithAccessChecks() 468 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()
|
/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 | 554 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in ResolveConstStrings() local 559 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in ResolveConstStrings() 601 ObjPtr<mirror::String> string = class_linker->ResolveString(string_index, dex_cache); in ResolveConstStrings() 623 ClassLinker* class_linker, in InitializeTypeCheckBitstrings() argument 641 class_linker->LookupResolvedType(type_index, in InitializeTypeCheckBitstrings() 665 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in InitializeTypeCheckBitstrings() local 669 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in InitializeTypeCheckBitstrings() 675 InitializeTypeCheckBitstrings(driver, class_linker, dex_cache, *dex_file, method); in InitializeTypeCheckBitstrings() 693 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in EnsureVerifiedOrVerifyAtRuntime() local 697 cls.Assign(class_linker->FindClass(soa.Self(), accessor.GetDescriptor(), class_loader)); in EnsureVerifiedOrVerifyAtRuntime() [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() 234 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckCompiledMethods() local 240 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, clazz.c_str(), h_loader); in CheckCompiledMethods() 243 const auto pointer_size = class_linker->GetImagePointerSize(); in CheckCompiledMethods() 251 EXPECT_FALSE(class_linker->IsQuickToInterpreterBridge(code)); in CheckCompiledMethods() 253 EXPECT_TRUE(class_linker->IsQuickToInterpreterBridge(code)); in CheckCompiledMethods() 295 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in CheckVerifiedClass() local 301 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, clazz.c_str(), h_loader); in CheckVerifiedClass()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 56 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in artFindNativeMethodRunnable() local 62 ArtMethod* target_method = class_linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in artFindNativeMethodRunnable() 81 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in artFindNativeMethodRunnable() 103 const void* native_code = class_linker->GetRegisteredNative(self, method); in artFindNativeMethodRunnable() 120 return class_linker->RegisterNative(self, method, native_code); in artFindNativeMethodRunnable()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 56 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in Java_Main_areClassesVerified() local 63 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesVerified() 152 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in Java_Main_areClassesPreverified() local 159 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesPreverified() 163 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 | 938 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 943 class_linker->FindClass(self, in TEST_F() 947 ASSERT_TRUE(class_linker->EnsureInitialized(self, floating_decimal, true, true)); in TEST_F() 952 class_linker->GetImagePointerSize()); in TEST_F() 974 &*class_class->GetDeclaredMethods(class_linker->GetImagePointerSize()).begin(); in TEST_F() 994 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in TEST_F() local 996 class_linker->FindClass(self, in TEST_F() 1000 ASSERT_TRUE(class_linker->EnsureInitialized(self, double_class, true, true)); in TEST_F() 1004 class_linker->GetImagePointerSize()); in TEST_F() 1037 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/compiler/ |
D | common_compiler_test.cc | 282 ClassLinker* class_linker = GetClassLinker(); in CompileDirectMethod() local 284 class_linker->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod() 286 auto pointer_size = class_linker->GetImagePointerSize(); in CompileDirectMethod() 299 ClassLinker* class_linker = GetClassLinker(); in CompileVirtualMethod() local 301 class_linker->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod() 303 auto pointer_size = class_linker->GetImagePointerSize(); in CompileVirtualMethod()
|
/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 | 181 static void Init(ClassLinker* class_linker) REQUIRES_SHARED(Locks::mutator_lock_); 225 ClassLinker* class_linker, 260 ClassLinker* class_linker, 283 ClassLinker* class_linker,
|