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

12

/art/dex2oat/linker/
H A Dimage_test.cc108 PointerSize pointer_size = class_linker_->GetImagePointerSize();
114 mirror::Class* iface_klass = class_linker_->LookupClass(
123 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code));
124 mirror::Class* impl_klass = class_linker_->LookupClass(
135 mirror::Class* iterable_klass = class_linker_->LookupClass(
146 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code));
147 mirror::Class* iterablebase_klass = class_linker_->LookupClass(
154 ASSERT_TRUE(class_linker_->IsQuickToInterpreterBridge(code));
H A Dimage_test.h102 PointerSize pointer_size = class_linker_->GetImagePointerSize();
455 class_linker_ = runtime_->GetClassLinker();
488 mirror::Class* klass = class_linker_->FindSystemClass(soa.Self(), descriptor);
H A Doat_writer.cc1537 class_linker_(Runtime::Current()->GetClassLinker()) {}
1551 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(Thread::Current(), *dex_file);
1600 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(self, *dex_file_);
1608 method = class_linker_->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>(
1627 method = class_linker_->LookupResolvedMethod(it.GetMemberIndex(), dex_cache, class_loader_);
1670 ClassLinker* const class_linker_; member in class:OatWriter::InitImageMethodVisitor
1689 class_linker_(Runtime::Current()->GetClassLinker()),
1713 dex_cache_ = class_linker_->FindDexCache(Thread::Current(), *dex_file);
1915 ClassLinker* const class_linker_; member in class:OatWriter::WriteCodeMethodVisitor
1929 (dex_file_ == ref.dex_file) ? dex_cache_ : class_linker_
[all...]
/art/runtime/mirror/
H A Dobject_test.cc81 self, class_linker_->GetClassRoot(ClassLinker::ClassRoot::kObjectArrayClass), length);
131 Class* aioobe = class_linker_->FindSystemClass(soa.Self(),
147 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"),
149 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;"),
155 Class* c = class_linker_->FindSystemClass(soa.Self(), "[I");
163 c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;");
169 c = class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Object;");
178 Class* c = class_linker_->FindSystemClass(soa.Self(), "[B");
186 c = class_linker_->FindSystemClass(soa.Self(), "[I");
192 c = class_linker_
[all...]
H A Ddex_cache_test.cc47 hs.NewHandle(class_linker_->AllocAndInitializeDexCache(
70 hs.NewHandle(class_linker_->AllocAndInitializeDexCache(
86 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader);
101 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage1/Package1;", class_loader));
104 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage2/Package2;", class_loader));
129 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader)));
130 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true);
147 class_linker_->FindDexCache(Thread::Current(), dex_file));
152 class_linker_->ResolveMethodType(soa.Self(),
157 class_linker_
[all...]
/art/runtime/
H A Dproxy_test.cc41 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader)));
43 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader)));
51 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)));
75 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader)));
77 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader)));
87 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces));
101 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Class;")));
104 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Class;")));
136 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy0", interfaces));
138 GenerateProxyClass(soa, jclass_loader, class_linker_, "
[all...]
H A Dclass_linker_test.cc63 EXPECT_TRUE(class_linker_->FindSystemClass(self, descriptor.c_str()) == nullptr);
68 class_linker_->FindSystemClass(self, "Ljava/lang/NoClassDefFoundError;");
75 AssertPrimitiveClass(descriptor, class_linker_->FindSystemClass(self, descriptor.c_str()));
164 PointerSize pointer_size = class_linker_->GetImagePointerSize();
181 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader)));
199 EXPECT_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), array->GetSuperClass());
234 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, &array_ptr), array.Get());
236 PointerSize pointer_size = class_linker_->GetImagePointerSize();
238 class_linker_->FindSystemClass(self, "Ljava/lang/Object;");
409 hs.NewHandle(class_linker_
[all...]
H A Dtransaction_test.cc44 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(),
47 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true);
50 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(),
53 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true);
57 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;",
60 class_linker_->VerifyClass(soa.Self(), h_klass);
64 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader));
66 class_linker_->VerifyClass(soa.Self(), h_klass);
73 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true);
95 hs.NewHandle(class_linker_
[all...]
H A Dmonitor_test.cc300 CommonWaitSetup(this, class_linker_, 10, 50, false, false, 2, 50, true,
310 CommonWaitSetup(this, class_linker_, 0, -1, true, false, 10, 50, true,
321 CommonWaitSetup(this, class_linker_, 0, 500, true, true, 10, 50, true,
H A Dclass_table_test.cc79 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_x, class_loader)));
81 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader)));
H A Druntime_callbacks_test.cc80 PointerSize pointer_size = class_linker_->GetImagePointerSize();
83 class_linker_->SetEntryPointsToInterpreter(&m);
300 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader)));
313 ASSERT_TRUE(class_linker_->EnsureInitialized(Thread::Current(), h_Y, true, true));
H A Dindirect_reference_table_test.cc63 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
281 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
490 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
H A Dcommon_runtime_test.cc145 : class_linker_(nullptr), java_lang_dex_file_(nullptr) {
368 class_linker_ = runtime_->GetClassLinker();
375 boot_class_path_ = class_linker_->GetBootClassPath();
395 class_linker_->RunRootClinits();
H A Dcommon_runtime_test.h199 // The class_linker_, java_lang_dex_file_, and boot_class_path_ are all
201 ClassLinker* class_linker_; member in class:art::CommonRuntimeTestImpl
H A Dreflection_test.cc83 mirror::Class* c = class_linker_->FindPrimitiveClass(descriptor);
107 ObjPtr<mirror::Class> c = class_linker_->FindClass(self,
123 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true);
521 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader);
H A Druntime.cc231 class_linker_(nullptr),
417 delete class_linker_;
759 class_linker_->EnsureInitialized(soa.Self(), class_class, true, true);
761 class_linker_->EnsureInitialized(soa.Self(), field_class, true, true);
1438 class_linker_ = new AotClassLinker(intern_table_);
1440 class_linker_ = new ClassLinker(intern_table_);
1443 bool result = class_linker_->InitFromBootImage(&error_msg);
1494 if (!class_linker_->InitWithoutImage(std::move(boot_class_path), &error_msg)) {
1509 CHECK(class_linker_ != nullptr);
2009 class_linker_
[all...]
/art/compiler/
H A Dcommon_compiler_test.cc103 class_linker_->SetEntryPointsToInterpreter(method);
126 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader);
128 PointerSize pointer_size = class_linker_->GetImagePointerSize();
241 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader);
243 auto pointer_size = class_linker_->GetImagePointerSize();
263 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader);
265 auto pointer_size = class_linker_->GetImagePointerSize();
277 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader);
279 auto pointer_size = class_linker_->GetImagePointerSize();
H A Dexception_test.cc57 my_klass_ = class_linker_->FindClass(soa.Self(), "LExceptionHandle;", class_loader);
60 class_linker_->EnsureInitialized(soa.Self(), klass, true, true);
H A Dverifier_deps_test.cc71 mirror::Class* klass = class_linker_->FindClass(Thread::Current(),
126 class_linker_->RegisterDexFile(*dex_file, loader.Get());
160 class_linker_->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>(
235 cls.Assign(class_linker_->FindClass(soa.Self(), descriptor, class_loader_handle));
/art/compiler/driver/
H A Ddex_compilation_unit.cc36 class_linker_(class_linker),
H A Ddex_compilation_unit.h53 return class_linker_;
123 ClassLinker* const class_linker_; member in class:art::DexCompilationUnit
/art/runtime/verifier/
H A Dmethod_verifier_test.cc40 mirror::Class* klass = class_linker_->FindSystemClass(self, descriptor.c_str());
/art/runtime/gc/
H A Dheap_test.cc69 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")));
/art/runtime/arch/
H A Dstub_test.cc827 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")));
829 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;")));
831 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/List;")));
833 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;")));
835 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/util/ArrayList;")));
927 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")));
976 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")));
1044 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")));
2057 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")));
/art/imgdiag/
H A Dimgdiag.cc706 class_linker_ = Runtime::Current()->GetClassLinker();
827 ClassLinker* class_linker_; member in class:art::__anon32::RegionSpecializedBase
883 if (class_linker_->IsQuickToInterpreterBridge(addr)) {
885 } else if (class_linker_->IsQuickGenericJniStub(addr)) {
887 } else if (class_linker_->IsQuickResolutionStub(addr)) {
889 } else if (class_linker_->IsJniDlsymLookupStub(addr)) {

Completed in 270 milliseconds

12