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.cc2055 art::Handle<art::mirror::Class> new_class(hs.NewHandle(linker->AllocClass( in AllocateNewClassObject() local
2057 if (new_class.IsNull()) { in AllocateNewClassObject()
2065 new_class->SetDexCache(cache.Get()); in AllocateNewClassObject()
2068 new_class, in AllocateNewClassObject()
2073 art::ObjectLock<art::mirror::Class> lock(driver_->self_, new_class); in AllocateNewClassObject()
2074 new_class->SetClinitThreadId(driver_->self_->GetTid()); in AllocateNewClassObject()
2076 new_class->SetIfTable(art::GetClassRoot<art::mirror::Object>(linker)->GetIfTable()); in AllocateNewClassObject()
2078 driver_->self_, *dex_file, dex_file->GetClassDef(dex_class_def_index), new_class); in AllocateNewClassObject()
2084 new_class->SetSuperClass(super_class.Get()); in AllocateNewClassObject()
2085 art::mirror::Class::SetStatus(new_class, art::ClassStatus::kLoaded, nullptr); in AllocateNewClassObject()
[all …]
/art/runtime/
Dclass_linker.cc4250 ObjPtr<mirror::Class> new_class = in CreateArrayClass() local
4252 if (new_class != nullptr) { in CreateArrayClass()
4253 return new_class; in CreateArrayClass()
4288 auto new_class = hs.NewHandle<mirror::Class>( in CreateArrayClass() local
4290 if (new_class == nullptr) { in CreateArrayClass()
4295 ObjPtr<mirror::Class> existing = InsertClass(descriptor, new_class.Get(), hash); in CreateArrayClass()
4300 Runtime::Current()->GetRuntimeCallbacks()->ClassLoad(new_class); in CreateArrayClass()
4301 Runtime::Current()->GetRuntimeCallbacks()->ClassPrepare(new_class, new_class); in CreateArrayClass()
4303 jit::Jit::NewTypeLoadedIfUsingJit(new_class.Get()); in CreateArrayClass()
4304 return new_class.Get(); in CreateArrayClass()
[all …]
Dclass_linker.h1276 ObjPtr<mirror::Class> new_class)
/art/runtime/mirror/
Dclass.cc1338 ObjPtr<Object> new_class = kMovingClasses ? in CopyOf() local
1341 if (UNLIKELY(new_class == nullptr)) { in CopyOf()
1345 return new_class->AsClass(); in CopyOf()