Home
last modified time | relevance | path

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

12

/art/runtime/
Dsubtype_check_test.cc228 SubtypeCheckInfo::State EnsureInitialized() in EnsureInitialized() function
231 return SC::EnsureInitialized(klass_); in EnsureInitialized()
361 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
371 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
383 EXPECT_EQ(SubtypeCheckInfo::kInitialized, child_tree.EnsureInitialized()); in TEST_F()
396 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
421 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
432 EXPECT_EQ(SubtypeCheckInfo::kInitialized, child_tree.EnsureInitialized()) << *child; in TEST_F()
450 EXPECT_EQ(SubtypeCheckInfo::kInitialized, child2_tree.EnsureInitialized()) << *child2; in TEST_F()
471 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
[all …]
Dtransaction_test.cc48 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
54 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
74 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
172 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
268 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
368 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
509 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
544 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
567 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
Dsubtype_check.h237 static SubtypeCheckInfo::State EnsureInitialized(ClassPtr klass) in EnsureInitialized() function
Dreference_table_test.cc58 CHECK(class_linker->EnsureInitialized(self, h_ref_class, true, true)); in CreateWeakReference()
Druntime.cc750 CHECK(cl->EnsureInitialized(soa.Self(), class_loader_class, true, true)); in CreateSystemClassLoader()
769 CHECK(cl->EnsureInitialized(soa.Self(), thread_class, true, true)); in CreateSystemClassLoader()
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()
Dclass_linker_test.cc1044 bool initialized = class_linker_->EnsureInitialized(soa.Self(), in TEST_F()
1165 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1469 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true); in TEST_F()
1484 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1554 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F()
Druntime_callbacks_test.cc313 ASSERT_TRUE(class_linker_->EnsureInitialized(Thread::Current(), h_Y, true, true)); in TEST_F()
Dreflection_test.cc124 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted()
Dreflection.cc667 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), h_class, true, true)) { in InvokeMethod()
Dclass_linker.cc510 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(java_lang_Object.Get()); in InitWithoutImage()
511 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(java_lang_Class.Get()); in InitWithoutImage()
910 if (soe_klass == nullptr || !EnsureInitialized(self, hs.NewHandle(soe_klass), true, true)) { in FinishInit()
926 EnsureInitialized(self, h_class, true, true); in RunRootClinits()
2225 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(root.Read()); in AddImageSpace()
4977 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(klass.Get()); in CreateProxyClass()
5462 result = EnsureInitialized(self, iface, can_init_statics, can_init_parents); in InitializeDefaultInterfaceRecursive()
5721 bool ClassLinker::EnsureInitialized(Thread* self, in EnsureInitialized() function in art::ClassLinker
5743 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(c.Get()); in EnsureInitialized()
9471 bool list_init = EnsureInitialized(self, h_list_class, true, true); in CreateWellKnownClassLoader()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc97 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), c, true, true)) { in Constructor_newInstance0()
Djava_lang_Class.cc199 class_linker->EnsureInitialized(soa.Self(), c, true, true); in Class_classForName()
856 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized( in Class_newInstance()
Djava_lang_reflect_Field.cc137 if (UNLIKELY(!class_linker->EnsureInitialized(soa.Self(), h_klass, true, true))) { in CheckReceiver()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h145 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in CheckObjectAlloc()
174 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in CheckClassInitializedForObjectAlloc()
395 if (LIKELY(class_linker->EnsureInitialized(self, hs.NewHandle(fields_class), true, true))) { in FindFieldFromCode()
737 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in ResolveVerifyAndClinit()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc952 ASSERT_TRUE(class_linker->EnsureInitialized(self, floating_decimal, true, true)); in TEST_F()
1005 ASSERT_TRUE(class_linker->EnsureInitialized(self, double_class, true, true)); in TEST_F()
1046 ASSERT_TRUE(class_linker->EnsureInitialized(self, thread_class, true, true)); in TEST_F()
1073 ASSERT_TRUE(class_linker->EnsureInitialized(self, log_manager_class, true, true)); in TEST_F()
1088 CHECK(class_linker->EnsureInitialized(self, h_class, true, true)); in RunTest()
1160 CHECK(class_linker->EnsureInitialized(self, boot_cp_class, true, true)); in GetBootClassLoader()
1286 ASSERT_TRUE(class_linker->EnsureInitialized(self, list_class, true, true)); in TEST_F()
1319 ASSERT_TRUE(class_linker->EnsureInitialized(self, throw_class, true, true)); in TEST_F()
Dinterpreter.cc481 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in EnterInterpreterFromInvoke()
660 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in ArtInterpreterToInterpreterBridge()
Dunstarted_runtime.cc150 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in UnstartedRuntimeFindClass()
307 if (cl->EnsureInitialized(self, h_klass, true, true)) { in UnstartedClassNewInstance()
632 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in GetResourceAsStream()
710 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, c, true, true)) { in UnstartedConstructorNewInstance0()
952 if (!class_linker->EnsureInitialized(self, h_props_class, true, true)) { in GetSystemProperty()
Dinterpreter_common.h409 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in ResolveString()
/art/runtime/mirror/
Ddex_cache_test.cc130 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc142 bool success = class_linker->EnsureInitialized( in artInitializeStaticStorageFromCode()
Dquick_trampoline_entrypoints.cc783 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickToInterpreterBridge()
1458 linker->EnsureInitialized(soa.Self(), called_class, true, true); in artQuickResolutionTrampoline()
/art/compiler/
Dexception_test.cc63 class_linker_->EnsureInitialized(soa.Self(), klass, true, true); in SetUp()
/art/test/common/
Druntime_state.cc225 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled()
/art/runtime/jni/
Djni_internal.cc417 static ObjPtr<mirror::Class> EnsureInitialized(Thread* self, ObjPtr<mirror::Class> klass) in EnsureInitialized() function
424 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized()
433 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)); in FindMethodID()
489 hs.NewHandle(EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)))); in FindFieldID()
904 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(java_class)); in AllocObject()
930 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), in NewObjectV()
957 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), in NewObjectA()
/art/dex2oat/driver/
Dcompiler_driver.cc2138 manager_->GetClassLinker()->EnsureInitialized(soa.Self(), klass, false, false); in TryInitializeClass()
2157 manager_->GetClassLinker()->EnsureInitialized(soa.Self(), klass, false, true); in TryInitializeClass()
2206 bool success = manager_->GetClassLinker()->EnsureInitialized(soa.Self(), klass, true, in TryInitializeClass()
2495 Runtime::Current()->GetClassLinker()->EnsureInitialized(hs.Self(), h_klass, true, true); in operator ()()

12