Home
last modified time | relevance | path

Searched refs:EnsureInitialized (Results 1 – 25 of 34) 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.cc53 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
59 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
79 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
178 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
274 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
374 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
515 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
550 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
573 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
Druntime.cc780 CHECK(cl->EnsureInitialized(soa.Self(), class_loader_class, true, true)); in CreateSystemClassLoader()
799 CHECK(cl->EnsureInitialized(soa.Self(), thread_class, true, true)); in CreateSystemClassLoader()
839 class_linker_->EnsureInitialized(self, klass, true, true); in RunRootClinits()
875 class_linker_->EnsureInitialized(soa.Self(), class_class, true, true); in Start()
876 class_linker_->EnsureInitialized(soa.Self(), string_class, true, true); in Start()
879 class_linker_->EnsureInitialized(soa.Self(), field_class, true, true); in Start()
Dreference_table_test.cc58 CHECK(class_linker->EnsureInitialized(self, h_ref_class, true, true)); in CreateWeakReference()
Dclass_linker_test.cc1051 bool initialized = class_linker_->EnsureInitialized(soa.Self(), in TEST_F()
1172 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1476 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true); in TEST_F()
1491 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1561 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()
Dclass_linker.cc800 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(java_lang_Object.Get()); in InitWithoutImage()
801 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(java_lang_Class.Get()); in InitWithoutImage()
1188 if (soe_klass == nullptr || !EnsureInitialized(self, hs.NewHandle(soe_klass), true, true)) { in FinishInit()
1204 if (!EnsureInitialized(self, h_class, true, true)) { in RunRootClinits()
2271 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(root.Read()); in AddImageSpace()
5210 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(klass.Get()); in CreateProxyClass()
5716 result = EnsureInitialized(self, iface, can_init_statics, can_init_parents); in InitializeDefaultInterfaceRecursive()
5975 bool ClassLinker::EnsureInitialized(Thread* self, in EnsureInitialized() function in art::ClassLinker
6007 SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(c.Get()); in EnsureInitialized()
9758 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.cc216 class_linker->EnsureInitialized(soa.Self(), c, true, true); in Class_classForName()
964 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in Class_newInstance()
Djava_lang_reflect_Field.cc137 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in CheckReceiver()
/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.cc498 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in EnterInterpreterFromInvoke()
680 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()
581 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in GetResourceAsStream()
659 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, c, true, true)) { in UnstartedConstructorNewInstance0()
906 if (!class_linker->EnsureInitialized(self, h_props_class, true, true)) { in GetSystemProperty()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc78 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in artFindNativeMethodRunnable()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h136 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in CheckClassInitializedForObjectAlloc()
389 if (LIKELY(class_linker->EnsureInitialized(self, hs.NewHandle(fields_class), true, true))) { in FindFieldFromCode()
731 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in ResolveVerifyAndClinit()
/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.cc145 bool success = class_linker->EnsureInitialized( in artInitializeStaticStorageFromCode()
Dquick_trampoline_entrypoints.cc698 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickToInterpreterBridge()
1367 success = linker->EnsureInitialized(soa.Self(), h_called_class, true, true); in artQuickResolutionTrampoline()
2179 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickGenericJniTrampoline()
/art/compiler/
Dexception_test.cc63 class_linker_->EnsureInitialized(soa.Self(), klass, true, true); in SetUp()
/art/test/common/
Druntime_state.cc249 if (!class_linker->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled()
/art/runtime/jni/
Djni_internal.cc301 static ObjPtr<mirror::Class> EnsureInitialized(Thread* self, ObjPtr<mirror::Class> klass) in EnsureInitialized() function
308 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized()
319 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)); in FindMethodJNI()
347 hs.NewHandle(EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)))); in FindFieldJNI()
742 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(java_class)); in AllocObject()
768 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), in NewObjectV()
795 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), in NewObjectA()
/art/dex2oat/driver/
Dcompiler_driver.cc2254 class_linker->EnsureInitialized(soa.Self(), klass, false, false); in TryInitializeClass()
2274 class_linker->EnsureInitialized(soa.Self(), klass, false, true); in TryInitializeClass()
2334 class_linker->EnsureInitialized(soa.Self(), exception_class, true, true); in TryInitializeClass()
2340 bool success = class_linker->EnsureInitialized(soa.Self(), klass, true, true); in TryInitializeClass()
2639 Runtime::Current()->GetClassLinker()->EnsureInitialized(hs.Self(), h_klass, true, true); in operator ()()
/art/runtime/interpreter/mterp/
Dnterp.cc371 if (UNLIKELY(!class_linker->EnsureInitialized( in NterpGetStaticField()

12