Home
last modified time | relevance | path

Searched refs:new_class (Results 1 – 6 of 6) sorted by relevance

/art/test/1963-add-to-dex-classloader-in-memory/src/art/
DTest1963.java199 private byte[] new_class = null; field in Test1963.ExtensibleClassLoader
205 new_class = bb; in addSingleClass()
212 if (name.equals(NEW_CLASS_NAME) && new_class != null) { in findClass()
213 return this.defineClass(name, new_class, 0, new_class.length); in findClass()
/art/runtime/jni/
Djni_id_manager.cc427 ObjPtr<mirror::Class> new_class(new_field->GetDeclaringClass()); in VisitReflectiveTargets() local
429 ObjPtr<mirror::ClassExt> new_ext_data(new_class->GetExtData()); in VisitReflectiveTargets()
453 << new_class->PrettyClass(); in VisitReflectiveTargets()
456 size_t new_off = ArraySlice<ArtField>(new_class->GetSFieldsPtr()).OffsetOf(new_field); in VisitReflectiveTargets()
462 size_t new_off = ArraySlice<ArtField>(new_class->GetIFieldsPtr()).OffsetOf(new_field); in VisitReflectiveTargets()
480 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets() local
482 ObjPtr<mirror::ClassExt> new_ext_data(new_class->GetExtData()); in VisitReflectiveTargets()
493 CHECK(!new_ext_data->HasMethodPointerIdMarker()) << new_class->PrettyClass(); in VisitReflectiveTargets()
495 size_t new_off = ArraySlice<ArtMethod>(new_class->GetMethodsPtr()).OffsetOf(new_method); in VisitReflectiveTargets()
/art/openjdkjvmti/
Dti_redefine.cc2046 art::Handle<art::mirror::Class> new_class(hs.NewHandle(linker->AllocClass( in AllocateNewClassObject() local
2048 if (new_class.IsNull()) { in AllocateNewClassObject()
2056 new_class->SetDexCache(cache.Get()); in AllocateNewClassObject()
2059 new_class, in AllocateNewClassObject()
2064 art::ObjectLock<art::mirror::Class> lock(driver_->self_, new_class); in AllocateNewClassObject()
2065 new_class->SetClinitThreadId(driver_->self_->GetTid()); in AllocateNewClassObject()
2067 new_class->SetIfTable(art::GetClassRoot<art::mirror::Object>(linker)->GetIfTable()); in AllocateNewClassObject()
2069 driver_->self_, *dex_file, dex_file->GetClassDef(dex_class_def_index), new_class); in AllocateNewClassObject()
2075 new_class->SetSuperClass(super_class.Get()); in AllocateNewClassObject()
2076 art::mirror::Class::SetStatus(new_class, art::ClassStatus::kLoaded, nullptr); in AllocateNewClassObject()
[all …]
/art/runtime/
Dclass_linker.cc4179 ObjPtr<mirror::Class> new_class = in CreateArrayClass() local
4181 if (new_class != nullptr) { in CreateArrayClass()
4182 return new_class; in CreateArrayClass()
4217 auto new_class = hs.NewHandle<mirror::Class>( in CreateArrayClass() local
4219 if (new_class == nullptr) { in CreateArrayClass()
4224 ObjPtr<mirror::Class> existing = InsertClass(descriptor, new_class.Get(), hash); in CreateArrayClass()
4229 Runtime::Current()->GetRuntimeCallbacks()->ClassLoad(new_class); in CreateArrayClass()
4230 Runtime::Current()->GetRuntimeCallbacks()->ClassPrepare(new_class, new_class); in CreateArrayClass()
4232 jit::Jit::NewTypeLoadedIfUsingJit(new_class.Get()); in CreateArrayClass()
4233 return new_class.Get(); in CreateArrayClass()
[all …]
Dclass_linker.h1217 ObjPtr<mirror::Class> new_class)
/art/runtime/mirror/
Dclass.cc1687 ObjPtr<Object> new_class = kMovingClasses ? in CopyOf() local
1690 if (UNLIKELY(new_class == nullptr)) { in CopyOf()
1694 return new_class->AsClass(); in CopyOf()