Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject_test.cc113 hs.NewHandle(class_linker_->AllocObjectArray<Object>(soa.Self(), 256))); in TEST_F()
124 hs.NewHandle(class_linker_->AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F()
135 Class* aioobe = class_linker_->FindSystemClass(soa.Self(), in TEST_F()
151 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"), in TEST_F()
153 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;"), in TEST_F()
159 Class* c = class_linker_->FindSystemClass(soa.Self(), "[I"); in TEST_F()
167 c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"); in TEST_F()
173 c = class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Object;"); in TEST_F()
182 Class* c = class_linker_->FindSystemClass(soa.Self(), "[B"); in TEST_F()
190 c = class_linker_->FindSystemClass(soa.Self(), "[I"); in TEST_F()
[all …]
Ddex_cache_test.cc38 hs.NewHandle(class_linker_->AllocDexCache(soa.Self(), *java_lang_dex_file_))); in TEST_F()
/art/runtime/
Dtransaction_test.cc33 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
52 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
80 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
111 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
113 class_linker_->EnsureInitialized(h_klass, true, true); in TEST_F()
165 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
206 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
208 class_linker_->EnsureInitialized(h_klass, true, true); in TEST_F()
264 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
306 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticArrayFieldsTest;", class_loader))); in TEST_F()
[all …]
Dclass_linker_test.cc50 EXPECT_TRUE(class_linker_->FindSystemClass(self, descriptor.c_str()) == NULL); in AssertNonExistentClass()
55 class_linker_->FindSystemClass(self, "Ljava/lang/NoClassDefFoundError;"); in AssertNonExistentClass()
62 AssertPrimitiveClass(descriptor, class_linker_->FindSystemClass(self, descriptor.c_str())); in AssertPrimitiveClass()
109 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass()
127 EXPECT_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), array->GetSuperClass()); in AssertArrayClass()
158 EXPECT_EQ(class_linker_->FindArrayClass(self, &array_ptr), array.Get()); in AssertArrayClass()
317 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass()
347 class_linker_->VisitRoots(TestRootVisitor, NULL, kVisitRootFlagAllRoots); in AssertDexFile()
349 mirror::DexCache* dex_cache = class_linker_->FindDexCache(*dex); in AssertDexFile()
650 mirror::Class* outer = class_linker_->FindClass(soa.Self(), "LNested;", class_loader); in TEST_F()
[all …]
Dproxy_test.cc36 … mirror::Class* javaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in GenerateProxyClass()
99 mirror::Class* proxyClass = class_linker_->CreateProxyClass(soa, in GenerateProxyClass()
117 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F()
119 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F()
151 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F()
153 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F()
179 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Class;"))); in TEST_F()
182 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Class;"))); in TEST_F()
Dutils_test.cc117 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
127 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
136 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
146 mirror::Class* java_lang_String = class_linker_->FindSystemClass(soa.Self(), in TEST_F()
217 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"); in TEST_F()
Dcommon_runtime_test.cc211 class_linker_ = runtime_->GetClassLinker(); in SetUp()
212 class_linker_->FixupDexCaches(runtime_->GetResolutionMethod()); in SetUp()
213 class_linker_->RunRootClinits(); in SetUp()
344 class_linker_->RegisterDexFile(*dex_file); in LoadDex()
Dmonitor_test.cc360 CommonWaitSetup(this, class_linker_, 10, 50, false, false, 2, 50, true, in TEST_F()
368 CommonWaitSetup(this, class_linker_, 0, -1, true, false, 10, 50, true, in TEST_F()
377 CommonWaitSetup(this, class_linker_, 0, 500, true, true, 10, 50, true, in TEST_F()
Druntime.cc116 class_linker_(nullptr), in Runtime()
192 delete class_linker_; in ~Runtime()
417 class_linker_->EnsureInitialized(klass, true, true); in Start()
799 class_linker_ = new ClassLinker(intern_table_); in Init()
801 class_linker_->InitFromImage(); in Init()
810 class_linker_->InitWithoutImage(boot_class_path); in Init()
822 class_linker_->InitWithoutImage(*options->boot_class_path_); in Init()
824 CHECK(class_linker_ != nullptr); in Init()
1136 class_linker_->VisitRoots(callback, arg, flags); in VisitConcurrentRoots()
Dexception_test.cc45 my_klass_ = class_linker_->FindClass(soa.Self(), "LExceptionHandle;", class_loader); in SetUp()
48 class_linker_->EnsureInitialized(klass, true, true); in SetUp()
Dcommon_runtime_test.h115 ClassLinker* class_linker_; variable
Dreflection_test.cc79 mirror::Class* c = class_linker_->FindPrimitiveClass(descriptor); in GetPrimitiveClass()
106 mirror::Class* c = class_linker_->FindClass(self, DotToDescriptor(class_name).c_str(), in ReflectionTestMakeExecutable()
120 bool initialized = class_linker_->EnsureInitialized(h_class, true, true); in ReflectionTestMakeExecutable()
504 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F()
Druntime.h218 return class_linker_; in GetClassLinker()
555 ClassLinker* class_linker_; variable
Dindirect_reference_table_test.cc51 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
Djni_internal_test.cc96 mirror::Class* c = class_linker_->FindPrimitiveClass(descriptor); in GetPrimitiveClass()
/art/compiler/driver/
Ddex_compilation_unit.cc29 class_linker_(cu->class_linker), in DexCompilationUnit()
49 class_linker_(class_linker), in DexCompilationUnit()
Ddex_compilation_unit.h52 return class_linker_; in GetClassLinker()
112 ClassLinker* const class_linker_; variable
Dcompiler_driver_test.cc110 mirror::DexCache* dex_cache = class_linker_->FindDexCache(*dex); in TEST_F()
Dcompiler_driver.cc1370 class_linker_(class_linker), in ParallelCompilationManager()
1378 CHECK(class_linker_ != nullptr); in GetClassLinker()
1379 return class_linker_; in GetClassLinker()
1453 ClassLinker* const class_linker_; member in art::ParallelCompilationManager
/art/runtime/verifier/
Dmethod_verifier_test.cc35 mirror::Class* klass = class_linker_->FindSystemClass(Thread::Current(), descriptor.c_str()); in VerifyClass()
/art/compiler/
Dcommon_compiler_test.cc277 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in MakeExecutable()
358 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in CompileClass()
382 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod()
395 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod()
Dimage_test.cc160 class_linker_ = runtime_->GetClassLinker(); in TEST_F()
174 mirror::Class* klass = class_linker_->FindSystemClass(soa.Self(), descriptor); in TEST_F()
/art/runtime/gc/
Dheap_test.cc49 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
/art/runtime/arch/
Dstub_test.cc835 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
837 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"))); in TEST_F()
888 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
890 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"))); in TEST_F()
1018 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
1074 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
1140 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
1144 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
/art/compiler/jni/
Djni_compiler_test.cc67 mirror::Class* c = class_linker_->FindClass(soa.Self(), "LMyClassNatives;", loader); in CompileForTest()
76 method->SetEntryPointFromQuickCompiledCode(class_linker_->GetQuickGenericJniTrampoline()); in CompileForTest()
79 … method->GetEntryPointFromQuickCompiledCode() == class_linker_->GetQuickGenericJniTrampoline()) { in CompileForTest()