/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 | 324 ClassLinker* class_linker = runtime->GetClassLinker(); in ProcessLoadString() local 329 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); in ProcessLoadString() 346 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString() 348 string = class_linker->ResolveString(string_index, dex_cache); in ProcessLoadString() 367 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString() 387 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/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/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/interpreter/mterp/ |
D | nterp.cc | 228 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in NterpGetMethod() local 230 ? class_linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in NterpGetMethod() 232 : class_linker->ResolveMethod<ClassLinker::ResolveMode::kCheckICCEAndIAE>( in NterpGetMethod() 243 ObjPtr<mirror::Class> referenced_class = class_linker->LookupResolvedType( in NterpGetMethod() 258 resolved_method, class_linker->GetImagePointerSize()); in NterpGetMethod() 273 vtable_index, class_linker->GetImagePointerSize()); in NterpGetMethod() 308 ClassLinker* class_linker, in ResolveFieldWithAccessChecks() argument 315 return class_linker->ResolveField(field_index, caller, is_static); in ResolveFieldWithAccessChecks() 324 ArtField* resolved_field = class_linker->ResolveFieldJLS(field_index, in ResolveFieldWithAccessChecks() 355 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in NterpGetStaticField() local [all …]
|
/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 …]
|
D | native_stack_dump.cc | 302 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in PcIsWithinQuickCode() local 303 if (class_linker->IsQuickGenericJniStub(entry_point) || in PcIsWithinQuickCode() 304 class_linker->IsQuickResolutionStub(entry_point) || in PcIsWithinQuickCode() 305 class_linker->IsQuickToInterpreterBridge(entry_point)) { in PcIsWithinQuickCode()
|
/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/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/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() 78 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in artFindNativeMethodRunnable() 100 const void* native_code = class_linker->GetRegisteredNative(self, method); in artFindNativeMethodRunnable() 117 return class_linker->RegisterNative(self, method, native_code); in artFindNativeMethodRunnable()
|
/art/dex2oat/driver/ |
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()
|
D | compiler_driver.cc | 361 ClassLinker* class_linker = runtime->GetClassLinker(); in GetDexToDexCompilationLevel() local 362 ObjPtr<mirror::Class> klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationLevel() 678 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in ResolveConstStrings() local 683 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in ResolveConstStrings() 730 ObjPtr<mirror::String> string = class_linker->ResolveString(string_index, dex_cache); in ResolveConstStrings() 756 ClassLinker* class_linker, in InitializeTypeCheckBitstrings() argument 774 class_linker->LookupResolvedType(type_index, in InitializeTypeCheckBitstrings() 798 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in InitializeTypeCheckBitstrings() local 802 dex_cache.Assign(class_linker->FindDexCache(soa.Self(), *dex_file)); in InitializeTypeCheckBitstrings() 808 InitializeTypeCheckBitstrings(driver, class_linker, dex_cache, *dex_file, method); in InitializeTypeCheckBitstrings() [all …]
|
/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/compiler/driver/ |
D | dex_compilation_unit.cc | 31 ClassLinker* class_linker, in DexCompilationUnit() argument 41 class_linker_(class_linker), in DexCompilationUnit()
|
/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/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,
|