/art/runtime/mirror/ |
D | dex_cache_test.cc | 52 hs.NewHandle(class_linker_->AllocAndInitializeDexCache( in TEST_F() 69 hs.NewHandle(class_linker_->AllocAndInitializeDexCache( in TEST_F() 83 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage1/Package1;", class_loader)); in TEST_F() 86 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage2/Package2;", class_loader)); in TEST_F() 111 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F() 112 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F() 129 class_linker_->FindDexCache(Thread::Current(), dex_file)); in TEST_F() 134 class_linker_->ResolveMethodType(soa.Self(), in TEST_F() 139 class_linker_->ResolveMethodType(soa.Self(), in TEST_F()
|
D | object_test.cc | 87 self, GetClassRoot(ClassRoot::kObjectArrayClass, class_linker_), length); in AllocObjectArray() 138 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/ArrayIndexOutOfBoundsException;")); in TEST_F() 153 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;"), in TEST_F() 155 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;"), in TEST_F() 162 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 169 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F() 174 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Object;")); in TEST_F() 183 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[B")); in TEST_F() 191 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 197 c.Assign(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F() [all …]
|
/art/runtime/ |
D | class_linker_test.cc | 69 EXPECT_TRUE(class_linker_->FindSystemClass(self, descriptor.c_str()) == nullptr); in AssertNonExistentClass() 75 class_linker_->FindSystemClass(self, "Ljava/lang/NoClassDefFoundError;"); in AssertNonExistentClass() 82 AssertPrimitiveClass(descriptor, class_linker_->FindSystemClass(self, descriptor.c_str())); in AssertPrimitiveClass() 139 class_linker_->MakeInitializedClassesVisiblyInitialized(self, /*wait=*/ true); in AssertObjectClass() 168 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertObjectClass() 185 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass() 203 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), in AssertArrayClass() 236 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass() 238 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in AssertArrayClass() 240 class_linker_->FindSystemClass(self, "Ljava/lang/Object;"); in AssertArrayClass() [all …]
|
D | proxy_test.cc | 47 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F() 49 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F() 57 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces))); in TEST_F() 81 class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F() 83 class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F() 93 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)); in TEST_F() 107 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Class;"))); in TEST_F() 110 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Class;"))); in TEST_F() 144 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy0", interfaces)); in TEST_F() 146 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1", interfaces)); in TEST_F()
|
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(), kTransactionAbortErrorDescriptor)); in testTransactionAbort() 58 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 62 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort() 65 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in testTransactionAbort() 69 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort() 71 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in testTransactionAbort() 78 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 100 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() [all …]
|
D | class_table_test.cc | 84 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_x, class_loader))); in TEST_F() 86 hs.NewHandle(class_linker_->FindClass(soa.Self(), descriptor_y, class_loader))); in TEST_F()
|
D | runtime.cc | 268 class_linker_(nullptr), in Runtime() 526 delete class_linker_; in ~Runtime() 527 class_linker_ = nullptr; in ~Runtime() 741 : class_linker_(class_linker), in UpdateMethodsPreFirstForkVisitor() 749 if (class_linker_->IsQuickResolutionStub(existing) && CanMethodUseNterp(&method)) { in operator ()() 758 ClassLinker* const class_linker_; member in art::UpdateMethodsPreFirstForkVisitor 853 class_linker_->MakeInitializedClassesVisiblyInitialized(self, /*wait=*/ true); in PreZygoteFork() 856 UpdateMethodsPreFirstForkVisitor visitor(class_linker_); in PreZygoteFork() 857 class_linker_->VisitClasses(&visitor); in PreZygoteFork() 1021 class_linker_->RunRootClinits(self); in RunRootClinits() [all …]
|
D | monitor_test.cc | 313 CommonWaitSetup(this, class_linker_, 10, 50, false, false, 2, 50, true, in TEST_F() 323 CommonWaitSetup(this, class_linker_, 0, -1, true, false, 10, 50, true, in TEST_F() 334 CommonWaitSetup(this, class_linker_, 0, 500, true, true, 10, 50, true, in TEST_F()
|
D | reflection_test.cc | 83 ObjPtr<mirror::Class> c = class_linker_->FindPrimitiveClass(descriptor); in GetPrimitiveClass() 102 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Class;")); in ReflectionTestMakeInterpreted() 103 MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Object;")); in ReflectionTestMakeInterpreted() 106 ObjPtr<mirror::Class> c = class_linker_->FindClass(self, in ReflectionTestMakeInterpreted() 123 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted()
|
D | common_runtime_test.cc | 76 : class_linker_(nullptr), in CommonRuntimeTestImpl() 134 class_linker_ = runtime_->GetClassLinker(); in SetUp() 141 boot_class_path_ = class_linker_->GetBootClassPath(); in SetUp() 413 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in MakeInterpreted()
|
/art/dex2oat/linker/ |
D | image_test.cc | 125 PointerSize pointer_size = class_linker_->GetImagePointerSize(); in TEST_F() 132 class_linker_->LookupClass(self, "LIface;", /*class_loader=*/ nullptr); in TEST_F() 140 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F() 142 class_linker_->LookupClass(self, "LImpl;", /*class_loader=*/ nullptr); in TEST_F() 153 class_linker_->LookupClass(self, "Ljava/lang/Iterable;", /*class_loader=*/ nullptr); in TEST_F() 163 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); in TEST_F() 165 class_linker_->LookupClass(self, "LIterableBase;", /*class_loader=*/ nullptr); in TEST_F() 171 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/interpreter/ |
D | unstarted_runtime_test.h | 88 Handle<mirror::Class> boot_cp_class = hs.NewHandle(class_linker_->FindClass( in GetBootClassLoader() 91 CHECK(class_linker_->EnsureInitialized( in GetBootClassLoader() 99 boot_cp_class->FindConstructor("()V", class_linker_->GetImagePointerSize()); in GetBootClassLoader()
|
D | unstarted_runtime_test.cc | 342 klass->FindConstructor("(Ljava/lang/String;)V", class_linker_->GetImagePointerSize()); in TEST_F() 787 ObjPtr<mirror::Class> c = class_linker_->FindClass(soa.Self(), "LNested$1;", loader); in TEST_F() 807 class_linker_->FindClass(soa.Self(), "LNested;", loader))); in TEST_F() 809 class_linker_->FindClass(soa.Self(), "LNested$Inner;", loader))); in TEST_F() 811 class_linker_->FindClass(soa.Self(), "LNested$1;", loader))); in TEST_F() 838 class_linker_->FindClass(self, in TEST_F() 842 ASSERT_TRUE(class_linker_->EnsureInitialized(self, floating_decimal, true, true)); in TEST_F() 847 class_linker_->GetImagePointerSize()); in TEST_F() 869 class_linker_->FindClass(self, in TEST_F() 873 ASSERT_TRUE(class_linker_->EnsureInitialized(self, double_class, true, true)); in TEST_F() [all …]
|
D | unstarted_runtime_transaction_test.cc | 103 &*class_class->GetDeclaredMethods(class_linker_->GetImagePointerSize()).begin(); in TEST_F() 155 class_linker_->FindClass(self, in RunTest() 218 jobject path_jobj = class_linker_->CreatePathClassLoader(self, {}); in TEST_F()
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 55 return class_linker_; in GetClassLinker() 164 ClassLinker* const class_linker_; variable
|
D | dex_compilation_unit.cc | 41 class_linker_(class_linker), in DexCompilationUnit()
|
/art/runtime/oat/ |
D | jni_stub_hash_map_test.cc | 91 pointer_size_ = class_linker_->GetImagePointerSize(); in SetUpForTest() 93 class_linker_->FindClass(soa.Self(), "LMyClassNatives;", class_loader); in SetUpForTest() 279 PointerSize ptr_size = class_linker_->GetImagePointerSize(); in TEST_F() 282 const void* boot_jni_stub = class_linker_->FindBootJniStub(JniStubKey(&method)); in TEST_F()
|
/art/compiler/ |
D | compiler_reflection_test.cc | 38 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F()
|
D | common_compiler_test.h | 113 return RuntimeBase::class_linker_; in GetClassLinker()
|
D | exception_test.cc | 64 my_klass_ = class_linker_->FindClass(soa.Self(), "LExceptionHandle;", class_loader); in SetUp() 67 class_linker_->EnsureInitialized(soa.Self(), klass, true, true); in SetUp()
|
/art/runtime/verifier/ |
D | method_verifier_test.cc | 50 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in VerifyClass()
|
D | reg_type_cache.h | 153 return class_linker_; in GetClassLinker() 211 ClassLinker* class_linker_; variable
|
D | reg_type_cache.cc | 62 handles_.NewHandle(GetClassRoot(class_root, class_linker_)), \ in FillPrimitiveAndSmallConstantTypes() 164 klass = class_linker_->FindClass(self, descriptor, loader); in ResolveClass() 166 klass = class_linker_->LookupClass(self, descriptor, loader.Get()); in ResolveClass() 293 class_linker_(class_linker), in RegTypeCache()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 77 class_linker_->FindClass(soa.Self(), name.c_str(), class_loader_handle); in FindClassByName() 122 class_linker_->RegisterDexFile(*dex_file, loader.Get()); in LoadDexFile() 151 class_linker_->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in VerifyMethod() 221 cls.Assign(class_linker_->FindClass(soa.Self(), descriptor, class_loader_handle)); in VerifyClassStatus()
|