Home
last modified time | relevance | path

Searched refs:class_linker_ (Results 1 – 25 of 33) sorted by relevance

12

/art/runtime/mirror/
Dobject_test.cc83 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()
186 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
192 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F()
[all …]
Ddex_cache_test.cc47 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/dex2oat/linker/
Dimage_test.cc115 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in TEST_F()
122 class_linker_->LookupClass(self, "LIface;", /*class_loader=*/ nullptr); in TEST_F()
130 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F()
132 class_linker_->LookupClass(self, "LImpl;", /*class_loader=*/ nullptr); in TEST_F()
143 class_linker_->LookupClass(self, "Ljava/lang/Iterable;", /*class_loader=*/ nullptr); in TEST_F()
153 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F()
155 class_linker_->LookupClass(self, "LIterableBase;", /*class_loader=*/ nullptr); in TEST_F()
161 ASSERT_TRUE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F()
Dimage_test.h107 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in FindCopiedMethod()
462 class_linker_ = runtime_->GetClassLinker(); in TestWriteRead()
500 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(soa.Self(), descriptor); in TestWriteRead()
Doat_writer.cc1497 class_linker_(Runtime::Current()->GetClassLinker()) {} in InitImageMethodVisitor()
1511 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(Thread::Current(), *dex_file); in StartClass()
1514 class_linker_->LookupResolvedType(class_def.class_idx_, dex_cache, class_loader_); in StartClass()
1561 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(self, *dex_file_); in VisitMethod()
1564 resolved_method = class_linker_->LookupResolvedMethod( in VisitMethod()
1575 resolved_method = class_linker_->LookupResolvedMethod(method.GetIndex(), in VisitMethod()
1620 ClassLinker* const class_linker_; member in art::linker::OatWriter::InitImageMethodVisitor
1639 class_linker_(Runtime::Current()->GetClassLinker()), in WriteCodeMethodVisitor()
1663 dex_cache_ = class_linker_->FindDexCache(Thread::Current(), *dex_file); in UpdateDexFileAndDexCache()
1862 ClassLinker* const class_linker_; member in art::linker::OatWriter::WriteCodeMethodVisitor
[all …]
/art/runtime/
Dclass_linker_test.cc68 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()
170 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertObjectClass()
187 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass()
205 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), in AssertArrayClass()
240 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass()
242 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertArrayClass()
244 class_linker_->FindSystemClass(self, "Ljava/lang/Object;"); in AssertArrayClass()
415 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass()
[all …]
Dtransaction_test.cc45 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
48 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
51 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
54 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
58 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort()
61 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort()
65 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort()
67 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort()
74 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
96 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
[all …]
Dproxy_test.cc54 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()
Dcommon_runtime_test.cc71 : 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()
396 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in MakeInterpreted()
398 class_linker_->SetEntryPointsToInterpreter(&method); in MakeInterpreted()
Dmonitor_test.cc301 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()
Dclass_table_test.cc79 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()
Druntime_callbacks_test.cc80 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()
Dreflection_test.cc84 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()
Druntime.cc244 class_linker_(nullptr), in Runtime()
470 delete class_linker_; in ~Runtime()
793 class_linker_->RunRootClinits(self); in RunRootClinits()
804 class_linker_->EnsureInitialized(self, klass, true, true); in RunRootClinits()
837 class_linker_->EnsureInitialized(soa.Self(), class_class, true, true); in Start()
840 class_linker_->EnsureInitialized(soa.Self(), field_class, true, true); in Start()
1509 class_linker_ = new AotClassLinker(intern_table_); in Init()
1511 class_linker_ = new ClassLinker( in Init()
1516 bool result = class_linker_->InitFromBootImage(&error_msg); in Init()
1545 class_linker_->AddExtraBootDexFiles(self, std::move(extra_boot_class_path)); in Init()
[all …]
Dindirect_reference_table_test.cc66 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()
Dcommon_runtime_test.h132 ClassLinker* class_linker_; variable
/art/compiler/
Dcommon_compiler_test.cc88 class_linker_->SetEntryPointsToInterpreter(method); in MakeExecutable()
184 Handle<mirror::DexCache> dex_cache = hs.NewHandle(class_linker_->FindDexCache(self, dex_file)); in CompileMethod()
221 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod()
223 auto pointer_size = class_linker_->GetImagePointerSize(); in CompileDirectMethod()
236 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod()
238 auto pointer_size = class_linker_->GetImagePointerSize(); in CompileVirtualMethod()
Dexception_test.cc60 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/
Ddex_compilation_unit.h54 return class_linker_; in GetClassLinker()
163 ClassLinker* const class_linker_; variable
Ddex_compilation_unit.cc41 class_linker_(class_linker), in DexCompilationUnit()
/art/runtime/verifier/
Dmethod_verifier_test.cc41 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(self, descriptor.c_str()); in VerifyClass()
/art/runtime/gc/
Dheap_test.cc71 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
/art/runtime/arch/
Dstub_test.cc830 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
832 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"))); in TEST_F()
834 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/List;"))); in TEST_F()
836 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"))); in TEST_F()
838 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/ArrayList;"))); in TEST_F()
930 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
979 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
1047 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
2072 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
/art/runtime/jni/
Djni_internal_test.cc93 ObjPtr<mirror::Class> c = class_linker_->FindPrimitiveClass(descriptor); in GetPrimitiveClass()
626 ObjPtr<mirror::Class> c = class_linker_->FindClass(soa.Self(), "LMyClassNatives;", loader); in SetUpForTest()
627 const auto pointer_size = class_linker_->GetImagePointerSize(); in SetUpForTest()
631 method->SetEntryPointFromQuickCompiledCode(class_linker_->GetRuntimeQuickGenericJniStub()); in SetUpForTest()
2267 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Class;")); in TEST_F()
2268 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Object;")); in TEST_F()
2269 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/nio/DirectByteBuffer;")); in TEST_F()
2270 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/nio/Bits;")); in TEST_F()
2271 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/nio/MappedByteBuffer;")); in TEST_F()
2272 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/nio/ByteBuffer;")); in TEST_F()
[all …]
/art/imgdiag/
Dimgdiag.cc721 class_linker_ = Runtime::Current()->GetClassLinker(); in RegionSpecializedBase()
844 ClassLinker* class_linker_; member in art::__anond841fb450111::RegionSpecializedBase
892 if (class_linker_->IsQuickToInterpreterBridge(addr)) { in StringFromBytes()
894 } else if (class_linker_->IsQuickGenericJniStub(addr)) { in StringFromBytes()
896 } else if (class_linker_->IsQuickResolutionStub(addr)) { in StringFromBytes()
898 } else if (class_linker_->IsJniDlsymLookupStub(addr)) { in StringFromBytes()

12