Home | History | Annotate | Download | only in runtime

Lines Matching defs:new_class

2071     mirror::Class* new_class = LookupClass(descriptor, component_type->GetClassLoader());
2072 if (new_class != NULL) {
2073 return new_class;
2086 SirtRef<mirror::Class> new_class(self, NULL);
2090 new_class.reset(GetClassRoot(kClassArrayClass));
2092 new_class.reset(GetClassRoot(kObjectArrayClass));
2094 new_class.reset(GetClassRoot(kJavaLangStringArrayClass));
2097 new_class.reset(GetClassRoot(kJavaLangReflectArtMethodArrayClass));
2100 new_class.reset(GetClassRoot(kJavaLangReflectArtFieldArrayClass));
2102 new_class.reset(GetClassRoot(kCharArrayClass));
2104 new_class.reset(GetClassRoot(kIntArrayClass));
2107 if (new_class.get() == NULL) {
2108 new_class.reset(AllocClass(self, sizeof(mirror::Class)));
2109 if (new_class.get() == NULL) {
2112 new_class->SetComponentType(component_type);
2114 ObjectLock lock(self, new_class.get()); // Must hold lock on object when initializing.
2115 DCHECK(new_class->GetComponentType() != NULL);
2117 new_class->SetSuperClass(java_lang_Object);
2118 new_class->SetVTable(java_lang_Object->GetVTable());
2119 new_class->SetPrimitiveType(Primitive::kPrimNot);
2120 new_class->SetClassLoader(component_type->GetClassLoader());
2121 new_class->SetStatus(mirror::Class::kStatusInitialized, self);
2122 // don't need to set new_class->SetObjectSize(..)
2139 new_class->SetIfTable(array_iftable_);
2142 int access_flags = new_class->GetComponentType()->GetAccessFlags();
2150 new_class->SetAccessFlags(access_flags);
2152 mirror::Class* existing = InsertClass(descriptor, new_class.get(), Hash(descriptor));
2154 return new_class.get();