/art/dex2oat/linker/ |
D | image_test.cc | 117 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in TEST_F() 124 class_linker_->LookupClass(self, "LIface;", /*class_loader=*/ nullptr); in TEST_F() 132 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F() 134 class_linker_->LookupClass(self, "LImpl;", /*class_loader=*/ nullptr); in TEST_F() 145 class_linker_->LookupClass(self, "Ljava/lang/Iterable;", /*class_loader=*/ nullptr); in TEST_F() 155 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F() 157 class_linker_->LookupClass(self, "LIterableBase;", /*class_loader=*/ nullptr); in TEST_F() 163 ASSERT_TRUE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F()
|
D | image_write_read_test.cc | 86 class_linker_ = runtime_->GetClassLinker(); in TestWriteRead() 124 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(soa.Self(), descriptor); in TestWriteRead()
|
/art/runtime/mirror/ |
D | object_test.cc | 83 self, GetClassRoot(ClassRoot::kObjectArrayClass, class_linker_), length); in AllocObjectArray() 134 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/ArrayIndexOutOfBoundsException;")); in TEST_F() 149 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"), in TEST_F() 151 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;"), in TEST_F() 158 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 165 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F() 170 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Object;")); in TEST_F() 179 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[B")); in TEST_F() 187 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 193 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F() [all …]
|
D | dex_cache_test.cc | 47 hs.NewHandle(class_linker_->AllocAndInitializeDexCache( in TEST_F() 70 hs.NewHandle(class_linker_->AllocAndInitializeDexCache( in TEST_F() 86 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F() 101 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage1/Package1;", class_loader)); in TEST_F() 104 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage2/Package2;", class_loader)); in TEST_F() 129 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F() 130 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F() 147 class_linker_->FindDexCache(Thread::Current(), dex_file)); in TEST_F() 152 class_linker_->ResolveMethodType(soa.Self(), in TEST_F() 157 class_linker_->ResolveMethodType(soa.Self(), in TEST_F()
|
/art/runtime/ |
D | class_linker_test.cc | 68 EXPECT_TRUE(class_linker_->FindSystemClass(self, descriptor.c_str()) == nullptr); in AssertNonExistentClass() 74 class_linker_->FindSystemClass(self, "Ljava/lang/NoClassDefFoundError;"); in AssertNonExistentClass() 81 AssertPrimitiveClass(descriptor, class_linker_->FindSystemClass(self, descriptor.c_str())); in AssertPrimitiveClass() 134 class_linker_->MakeInitializedClassesVisiblyInitialized(Thread::Current(), /*wait=*/ true); in AssertObjectClass() 171 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertObjectClass() 188 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass() 206 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), in AssertArrayClass() 241 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass() 243 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertArrayClass() 245 class_linker_->FindSystemClass(self, "Ljava/lang/Object;"); in AssertArrayClass() [all …]
|
D | transaction_test.cc | 50 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort() 53 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 56 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort() 59 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 63 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort() 66 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort() 70 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort() 72 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort() 79 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 101 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() [all …]
|
D | proxy_test.cc | 54 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F() 56 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F() 64 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces))); in TEST_F() 88 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F() 90 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F() 100 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)); in TEST_F() 114 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Class;"))); in TEST_F() 117 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Class;"))); in TEST_F() 149 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy0", interfaces)); in TEST_F() 151 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1", interfaces)); in TEST_F()
|
D | monitor_test.cc | 301 CommonWaitSetup(this, class_linker_, 10, 50, false, false, 2, 50, true, in TEST_F() 311 CommonWaitSetup(this, class_linker_, 0, -1, true, false, 10, 50, true, in TEST_F() 322 CommonWaitSetup(this, class_linker_, 0, 500, true, true, 10, 50, true, in TEST_F()
|
D | class_table_test.cc | 79 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_x, class_loader))); in TEST_F() 81 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader))); in TEST_F()
|
D | runtime_callbacks_test.cc | 80 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in MakeExecutable() 83 class_linker_->SetEntryPointsToInterpreter(&m); in MakeExecutable() 300 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader))); in TEST_F() 313 ASSERT_TRUE(class_linker_->EnsureInitialized(Thread::Current(), h_Y, true, true)); in TEST_F()
|
D | common_runtime_test.cc | 74 : class_linker_(nullptr), java_lang_dex_file_(nullptr) { in CommonRuntimeTestImpl() 145 class_linker_ = runtime_->GetClassLinker(); in SetUp() 152 boot_class_path_ = class_linker_->GetBootClassPath(); in SetUp() 407 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in MakeInterpreted() 409 class_linker_->SetEntryPointsToInterpreter(&method); in MakeInterpreted()
|
D | reflection_test.cc | 84 ObjPtr<mirror::Class> c = class_linker_->FindPrimitiveClass(descriptor); in GetPrimitiveClass() 103 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Class;")); in ReflectionTestMakeInterpreted() 104 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Object;")); in ReflectionTestMakeInterpreted() 107 ObjPtr<mirror::Class> c = class_linker_->FindClass(self, in ReflectionTestMakeInterpreted() 124 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted() 522 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F()
|
D | runtime.cc | 248 class_linker_(nullptr), in Runtime() 484 delete class_linker_; in ~Runtime() 485 class_linker_ = nullptr; in ~Runtime() 829 class_linker_->RunRootClinits(self); in RunRootClinits() 840 class_linker_->EnsureInitialized(self, klass, true, true); in RunRootClinits() 876 class_linker_->EnsureInitialized(soa.Self(), class_class, true, true); in Start() 877 class_linker_->EnsureInitialized(soa.Self(), string_class, true, true); in Start() 880 class_linker_->EnsureInitialized(soa.Self(), field_class, true, true); in Start() 1566 class_linker_ = new AotClassLinker(intern_table_); in Init() 1568 class_linker_ = new ClassLinker( in Init() [all …]
|
D | indirect_reference_table_test.cc | 66 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 285 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F() 495 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
|
/art/compiler/ |
D | common_compiler_test.cc | 88 class_linker_->SetEntryPointsToInterpreter(method); in MakeExecutable() 186 Handle<mirror::DexCache> dex_cache = hs.NewHandle(class_linker_->FindDexCache(self, dex_file)); in CompileMethod() 223 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod() 225 auto pointer_size = class_linker_->GetImagePointerSize(); in CompileDirectMethod() 238 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod() 240 auto pointer_size = class_linker_->GetImagePointerSize(); in CompileVirtualMethod()
|
D | exception_test.cc | 60 my_klass_ = class_linker_->FindClass(soa.Self(), "LExceptionHandle;", class_loader); in SetUp() 63 class_linker_->EnsureInitialized(soa.Self(), klass, true, true); in SetUp()
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 54 return class_linker_; in GetClassLinker() 163 ClassLinker* const class_linker_; variable
|
D | dex_compilation_unit.cc | 41 class_linker_(class_linker), in DexCompilationUnit()
|
/art/runtime/verifier/ |
D | method_verifier_test.cc | 41 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(self, descriptor.c_str()); in VerifyClass()
|
D | reg_type_cache.h | 170 return class_linker_; in GetClassLinker() 217 ClassLinker* class_linker_; variable
|
D | method_verifier.h | 208 return class_linker_; in GetClassLinker() 387 ClassLinker* class_linker_; variable
|
D | reg_type_cache.cc | 167 klass = class_linker_->FindClass(self, descriptor, class_loader); in ResolveClass() 169 klass = class_linker_->LookupClass(self, descriptor, loader); in ResolveClass() 292 class_linker_(class_linker), in RegTypeCache()
|
/art/runtime/gc/ |
D | heap_test.cc | 71 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
|
/art/runtime/arch/ |
D | stub_test.cc | 698 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 700 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"))); in TEST_F() 702 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/List;"))); in TEST_F() 704 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"))); in TEST_F() 706 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/ArrayList;"))); in TEST_F() 798 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 847 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 915 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 1933 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
|
/art/imgdiag/ |
D | imgdiag.cc | 721 class_linker_ = Runtime::Current()->GetClassLinker(); in RegionSpecializedBase() 844 ClassLinker* class_linker_; member in art::__anon0c8a3a070111::RegionSpecializedBase 896 if (class_linker_->IsQuickToInterpreterBridge(addr)) { in StringFromBytes() 898 } else if (class_linker_->IsQuickGenericJniStub(addr)) { in StringFromBytes() 900 } else if (class_linker_->IsQuickResolutionStub(addr)) { in StringFromBytes() 902 } else if (class_linker_->IsJniDlsymLookupStub(addr)) { in StringFromBytes() 904 } else if (class_linker_->IsJniDlsymLookupCriticalStub(addr)) { in StringFromBytes()
|