Lines Matching full:class_root
609 auto* class_root = FindSystemClass(self, "Ljava/lang/reflect/Field;");
610 CHECK(class_root != nullptr);
611 SetClassRoot(kJavaLangReflectField, class_root);
612 mirror::Field::SetClass(class_root);
615 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Field;");
616 CHECK(class_root != nullptr);
617 SetClassRoot(kJavaLangReflectFieldArrayClass, class_root);
618 mirror::Field::SetArrayClass(class_root);
621 class_root = FindSystemClass(self, "Ljava/lang/reflect/Constructor;");
622 CHECK(class_root != nullptr);
623 SetClassRoot(kJavaLangReflectConstructor, class_root);
624 mirror::Constructor::SetClass(class_root);
625 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Constructor;");
626 CHECK(class_root != nullptr);
627 SetClassRoot(kJavaLangReflectConstructorArrayClass, class_root);
628 mirror::Constructor::SetArrayClass(class_root);
631 class_root = FindSystemClass(self, "Ljava/lang/reflect/Method;");
632 CHECK(class_root != nullptr);
633 SetClassRoot(kJavaLangReflectMethod, class_root);
634 mirror::Method::SetClass(class_root);
635 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Method;");
636 CHECK(class_root != nullptr);
637 SetClassRoot(kJavaLangReflectMethodArrayClass, class_root);
638 mirror::Method::SetArrayClass(class_root);
647 class_root = FindSystemClass(self, "Ljava/lang/ref/FinalizerReference;");
648 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal);
649 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagFinalizerReference);
650 class_root = FindSystemClass(self, "Ljava/lang/ref/PhantomReference;");
651 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal);
652 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagPhantomReference);
653 class_root = FindSystemClass(self, "Ljava/lang/ref/SoftReference;");
654 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal);
655 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagSoftReference);
656 class_root = FindSystemClass(self, "Ljava/lang/ref/WeakReference;");
657 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal);
658 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagWeakReference);
661 class_root = FindSystemClass(self, "Ljava/lang/ClassLoader;");
662 class_root->SetClassLoaderClass();
663 CHECK_EQ(class_root->GetObjectSize(), mirror::ClassLoader::InstanceSize());
664 SetClassRoot(kJavaLangClassLoader, class_root);
734 ClassRoot class_root = static_cast<ClassRoot>(i);
735 mirror::Class* klass = GetClassRoot(class_root);
7909 void ClassLinker::SetClassRoot(ClassRoot class_root, mirror::Class* klass) {
7917 DCHECK(class_roots->Get(class_root) == nullptr);
7918 class_roots->Set<false>(class_root, klass);
7921 const char* ClassLinker::GetClassRootDescriptor(ClassRoot class_root) {
7964 const char* descriptor = class_roots_descriptors[class_root];