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.cc2056 art::Handle<art::mirror::Class> new_class(hs.NewHandle(linker->AllocClass( in AllocateNewClassObject() local
2058 if (new_class.IsNull()) { in AllocateNewClassObject()
2066 new_class->SetDexCache(cache.Get()); in AllocateNewClassObject()
2069 new_class, in AllocateNewClassObject()
2074 art::ObjectLock<art::mirror::Class> lock(driver_->self_, new_class); in AllocateNewClassObject()
2075 new_class->SetClinitThreadId(driver_->self_->GetTid()); in AllocateNewClassObject()
2077 new_class->SetIfTable(art::GetClassRoot<art::mirror::Object>(linker)->GetIfTable()); in AllocateNewClassObject()
2079 driver_->self_, *dex_file, dex_file->GetClassDef(dex_class_def_index), new_class); in AllocateNewClassObject()
2085 new_class->SetSuperClass(super_class.Get()); in AllocateNewClassObject()
2086 art::mirror::Class::SetStatus(new_class, art::ClassStatus::kLoaded, nullptr); in AllocateNewClassObject()
[all …]
/art/runtime/
Dclass_linker.cc4421 ObjPtr<mirror::Class> new_class = in CreateArrayClass() local
4423 if (new_class != nullptr) { in CreateArrayClass()
4424 return new_class; in CreateArrayClass()
4459 auto new_class = hs.NewHandle<mirror::Class>( in CreateArrayClass() local
4461 if (new_class == nullptr) { in CreateArrayClass()
4466 ObjPtr<mirror::Class> existing = InsertClass(descriptor, new_class.Get(), hash); in CreateArrayClass()
4471 Runtime::Current()->GetRuntimeCallbacks()->ClassLoad(new_class); in CreateArrayClass()
4472 Runtime::Current()->GetRuntimeCallbacks()->ClassPrepare(new_class, new_class); in CreateArrayClass()
4474 jit::Jit::NewTypeLoadedIfUsingJit(new_class.Get()); in CreateArrayClass()
4475 return new_class.Get(); in CreateArrayClass()
[all …]
Dclass_linker.h1326 ObjPtr<mirror::Class> new_class)
/art/runtime/mirror/
Dclass.cc1369 ObjPtr<Object> new_class = kMovingClasses ? in CopyOf() local
1372 if (UNLIKELY(new_class == nullptr)) { in CopyOf()
1376 return new_class->AsClass(); in CopyOf()