/art/runtime/ |
D | transaction_test.cc | 49 MutableHandle<mirror::Class> h_klass( in testTransactionAbort() local 52 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() 53 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 54 ASSERT_TRUE(h_klass->IsInitialized()); in testTransactionAbort() 56 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort() 58 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() 59 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 60 ASSERT_TRUE(h_klass->IsInitialized()); in testTransactionAbort() 63 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort() 65 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() [all …]
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 220 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in ExecuteWithRuntime() local 239 h_klass.Assign(class_linker->FindClass(soa.Self(), descriptor, h_loader)); in ExecuteWithRuntime() 240 if (h_klass == nullptr || h_klass->IsErroneous()) { in ExecuteWithRuntime() 250 h_klass.Get(), in ExecuteWithRuntime()
|
/art/test/common/ |
D | runtime_state.cc | 247 Handle<mirror::Class> h_klass(hs.NewHandle(method->GetDeclaringClass())); in ForceJitCompiled() local 249 if (!class_linker->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled() 253 if (UNLIKELY(!h_klass->IsInitialized())) { in ForceJitCompiled() 255 CHECK_EQ(h_klass->GetStatus(), ClassStatus::kInitializing); in ForceJitCompiled() 256 CHECK_EQ(h_klass->GetClinitThreadId(), self->GetTid()); in ForceJitCompiled() 262 if (!h_klass->IsVisiblyInitialized()) { in ForceJitCompiled()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 144 Handle<mirror::Class> h_klass = hs.NewHandle(klass); in artInitializeStaticStorageFromCode() local 146 self, h_klass, /* can_init_fields= */ true, /* can_init_parents= */ true); in artInitializeStaticStorageFromCode() 150 return h_klass.Get(); in artInitializeStaticStorageFromCode()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 507 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredField() local 509 hs.NewHandle(GetDeclaredField(soa.Self(), h_klass.Get(), h_string.Get())); in Class_getDeclaredField() 512 if (name_str == "value" && h_klass->IsStringClass()) { in Class_getDeclaredField() 523 ThrowNoSuchFieldException(h_klass.Get(), name_str.c_str()); in Class_getDeclaredField() 569 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredConstructorsInternal() local 570 if (UNLIKELY(h_klass->IsObsoleteObject())) { in Class_getDeclaredConstructorsInternal() 576 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 586 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal()
|
D | java_lang_reflect_Field.cc | 136 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&declaring_class)); in CheckReceiver() local 138 self, h_klass, /*can_init_fields=*/ true, /*can_init_parents=*/ true))) { in CheckReceiver() 142 DCHECK(h_klass->IsInitializing()); in CheckReceiver()
|
/art/runtime/verifier/ |
D | class_verifier.cc | 74 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in ReverifyClass() local 116 h_klass.Get(), in ReverifyClass()
|
/art/runtime/gc/ |
D | heap-inl.h | 74 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&klass)); in AllocObjectWithAllocator() 75 l->PreObjectAllocated(self, h_klass, &byte_count); in AllocObjectWithAllocator()
|
/art/openjdkjvmti/ |
D | ti_class.cc | 677 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in GetImplementedInterfaces() local 681 art::mirror::Class::ResolveDirectInterface(soa.Self(), h_klass, idx); in GetImplementedInterfaces() 724 art::Handle<art::mirror::Class> h_klass = hs.NewHandle(klass); in GetClassSignature() local 726 art::annotations::GetSignatureAnnotationForClass(h_klass); in GetClassSignature() 835 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in ClassGetModifiers() local 836 return art::mirror::Class::GetInnerClassFlags(h_klass, modifiers); in ClassGetModifiers()
|
D | ti_redefine.cc | 354 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClassGeneric() local 357 Redefiner::GetClassRedefinitionError<kType>(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClassGeneric() 382 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in GetClassRedefinitionError() local 383 return Redefiner::GetClassRedefinitionError<kType>(h_klass, error_msg); in GetClassRedefinitionError() 933 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(GetMirrorClass())); in CheckMethods() local 939 uint32_t num_old_method = h_klass->GetDeclaredMethodsSlice(art::kRuntimePointerSize).size(); in CheckMethods() 955 const art::DexFile& old_dex_file = h_klass->GetDexFile(); in CheckMethods() 956 art::ClassAccessor old_accessor(old_dex_file, *h_klass->GetClassDef()); in CheckMethods() 1015 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(GetMirrorClass())); in CheckFields() local 1019 const art::DexFile& old_dex_file = h_klass->GetDexFile(); in CheckFields() [all …]
|
D | ti_heap.cc | 1212 art::Handle<art::mirror::Class> h_klass(hs.NewHandle<art::mirror::Class>(klass)); in VisitClass() local 1213 for (size_t i = 0; i < h_klass->NumDirectInterfaces(); ++i) { in VisitClass() 1215 art::mirror::Class::ResolveDirectInterface(self, h_klass, i); in VisitClass() 1243 DCHECK_EQ(h_klass.Get(), klass); in VisitClass()
|
/art/oatdump/ |
D | oatdump.cc | 3051 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in DumpImtStats() local 3059 h_klass.Assign(class_linker->FindClass(self, descriptor, h_class_loader)); in DumpImtStats() 3060 if (h_klass == nullptr) { in DumpImtStats() 3065 if (HasNoIMT(runtime, h_klass, pointer_size, &prepared)) { in DumpImtStats() 3070 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats() 3195 Handle<mirror::Class> h_klass = scope.NewHandle<mirror::Class>(klass); in PrepareAndGetImTable() local 3197 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable() 3198 *klass_out = h_klass.Get(); in PrepareAndGetImTable() 3203 Handle<mirror::Class> h_klass, in PrepareAndGetImTable() argument 3207 PrepareClass(runtime, h_klass, prepared); in PrepareAndGetImTable() [all …]
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 284 Handle<mirror::Class> h_klass(hs.NewHandle(param->AsClass())); in UnstartedClassNewInstance() local 287 if (h_klass == nullptr) { in UnstartedClassNewInstance() 294 if (h_klass->IsFinalizable()) { in UnstartedClassNewInstance() 296 h_klass->PrettyClass().c_str()); in UnstartedClassNewInstance() 307 if (cl->EnsureInitialized(self, h_klass, true, true)) { in UnstartedClassNewInstance() 308 ArtMethod* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() 313 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(self))); in UnstartedClassNewInstance() 323 h_klass->PrettyClass().c_str()); in UnstartedClassNewInstance() 328 h_klass->PrettyClass().c_str(), in UnstartedClassNewInstance()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 1248 for (Handle<mirror::Class> h_klass : to_insert_) { in Walk() 1249 MaybeAddToImageClasses(self_, h_klass.Get(), image_class_descriptors_); in Walk() 2204 Handle<mirror::Class> h_klass(hs.NewHandle(klass->GetClass())); in TryInitializeClass() local 2205 ObjectLock<mirror::Class> lock(soa.Self(), h_klass); in TryInitializeClass() 2577 auto h_klass = hs.NewHandleWrapper(&klass); in operator ()() local 2578 Runtime::Current()->GetClassLinker()->EnsureInitialized(hs.Self(), h_klass, true, true); in operator ()()
|
/art/runtime/mirror/ |
D | class.cc | 1471 Handle<Class> h_klass = hs.NewHandle(klass); in GetDeclaredMethodInternal() local 1475 for (auto& m : h_klass->GetDeclaredVirtualMethods(kPointerSize)) { in GetDeclaredMethodInternal() 1506 for (auto& m : h_klass->GetDirectMethods(kPointerSize)) { in GetDeclaredMethodInternal()
|
/art/compiler/optimizing/ |
D | instruction_builder.cc | 2026 Handle<mirror::Class> h_klass = handles_->NewHandle(klass); in ResolveClass() local 2027 class_cache_.Put(type_index, h_klass); in ResolveClass() 2028 return h_klass; in ResolveClass()
|
/art/runtime/jni/ |
D | jni_internal.cc | 307 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in EnsureInitialized() local 308 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized() 311 return h_klass.Get(); in EnsureInitialized()
|