/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(), kTransactionAbortErrorDescriptor)); in testTransactionAbort() 57 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() 58 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 59 ASSERT_TRUE(h_klass->IsInitialized()); in testTransactionAbort() 62 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort() 64 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() [all …]
|
D | class_linker.cc | 3403 ObjPtr<mirror::Class> Finish(Handle<mirror::Class> h_klass) in Finish() 3410 return h_klass.Get(); in Finish() 3416 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in Finish() local 3417 return Finish(h_klass); in Finish()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 218 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in ExecuteWithRuntime() local 238 h_klass.Assign(class_linker->FindClass(soa.Self(), descriptor, h_loader)); in ExecuteWithRuntime() 239 if (h_klass == nullptr || h_klass->IsErroneous()) { in ExecuteWithRuntime() 246 h_dex_cache.Assign(h_klass->GetDexCache()); in ExecuteWithRuntime() 252 h_klass, in ExecuteWithRuntime() 255 *h_klass->GetClassDef(), in ExecuteWithRuntime()
|
/art/test/common/ |
D | runtime_state.cc | 251 Handle<mirror::Class> h_klass(hs.NewHandle(method->GetDeclaringClass())); in ForceJitCompiled() local 253 if (!class_linker->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled() 257 if (UNLIKELY(!h_klass->IsInitialized())) { in ForceJitCompiled() 259 CHECK_EQ(h_klass->GetStatus(), ClassStatus::kInitializing); in ForceJitCompiled() 260 CHECK_EQ(h_klass->GetClinitThreadId(), self->GetTid()); in ForceJitCompiled() 266 if (!h_klass->IsVisiblyInitialized()) { in ForceJitCompiled()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 219 Handle<mirror::Class> h_klass = hs.NewHandle(klass); in artInitializeStaticStorageFromCode() local 221 self, h_klass, /* can_init_fields= */ true, /* can_init_parents= */ true); in artInitializeStaticStorageFromCode() 225 return h_klass.Get(); in artInitializeStaticStorageFromCode()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 382 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredField() local 384 hs.NewHandle(GetDeclaredField(soa.Self(), h_klass.Get(), h_string.Get())); in Class_getDeclaredField() 387 if (name_str == "value" && h_klass->IsStringClass()) { in Class_getDeclaredField() 398 ThrowNoSuchFieldException(h_klass.Get(), name_str); in Class_getDeclaredField() 444 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredConstructorsInternal() local 445 if (UNLIKELY(h_klass->IsObsoleteObject())) { in Class_getDeclaredConstructorsInternal() 451 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 461 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal()
|
D | java_lang_reflect_Field.cc | 150 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&declaring_class)); in CheckReceiver() local 152 self, h_klass, /*can_init_fields=*/ true, /*can_init_parents=*/ true))) { in CheckReceiver() 156 DCHECK(h_klass->IsInitializing()); in CheckReceiver()
|
/art/oatdump/ |
D | oatdump.cc | 2785 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in DumpImtStats() local 2793 h_klass.Assign(class_linker->FindClass(self, descriptor, h_class_loader)); in DumpImtStats() 2794 if (h_klass == nullptr) { in DumpImtStats() 2799 if (HasNoIMT(runtime, h_klass, pointer_size, &prepared)) { in DumpImtStats() 2804 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats() 2929 Handle<mirror::Class> h_klass = scope.NewHandle<mirror::Class>(klass); in PrepareAndGetImTable() local 2931 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable() 2932 *klass_out = h_klass.Get(); in PrepareAndGetImTable() 2937 Handle<mirror::Class> h_klass, in PrepareAndGetImTable() argument 2941 PrepareClass(runtime, h_klass, prepared); in PrepareAndGetImTable() [all …]
|
/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()
|
D | heap.cc | 1950 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(klass)); in AllocateInternalWithGc() local 1957 l->PreObjectAllocated(self, h_klass, &alloc_size); in AllocateInternalWithGc()
|
/art/openjdkjvmti/ |
D | ti_class.cc | 674 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in GetImplementedInterfaces() local 678 art::mirror::Class::ResolveDirectInterface(soa.Self(), h_klass, idx); in GetImplementedInterfaces() 721 art::Handle<art::mirror::Class> h_klass = hs.NewHandle(klass); in GetClassSignature() local 723 art::annotations::GetSignatureAnnotationForClass(h_klass); in GetClassSignature() 832 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in ClassGetModifiers() local 833 return art::mirror::Class::GetInnerClassFlags(h_klass, modifiers); in ClassGetModifiers()
|
D | ti_redefine.cc | 378 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClassGeneric() local 381 Redefiner::CanRedefineClass<kType>(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClassGeneric() 406 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in CanRedefineClass() local 407 return Redefiner::CanRedefineClass<kType>(h_klass, error_msg); in CanRedefineClass() 934 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(GetMirrorClass())); in CheckMethods() local 940 uint32_t num_old_method = h_klass->GetDeclaredMethodsSlice(art::kRuntimePointerSize).size(); in CheckMethods() 956 const art::DexFile& old_dex_file = h_klass->GetDexFile(); in CheckMethods() 957 art::ClassAccessor old_accessor(old_dex_file, *h_klass->GetClassDef()); in CheckMethods() 1016 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(GetMirrorClass())); in CheckFields() local 1020 const art::DexFile& old_dex_file = h_klass->GetDexFile(); in CheckFields() [all …]
|
D | ti_heap.cc | 1217 art::Handle<art::mirror::Class> h_klass(hs.NewHandle<art::mirror::Class>(klass)); in VisitClass() local 1218 for (size_t i = 0; i < h_klass->NumDirectInterfaces(); ++i) { in VisitClass() 1220 art::mirror::Class::ResolveDirectInterface(self, h_klass, i); in VisitClass() 1248 DCHECK_EQ(h_klass.Get(), klass); in VisitClass()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 303 Handle<mirror::Class> h_klass(hs.NewHandle(param->AsClass())); in UnstartedClassNewInstance() local 306 if (h_klass == nullptr) { in UnstartedClassNewInstance() 314 runtime->GetClassLinker()->TransactionAllocationConstraint(self, h_klass.Get())) { in UnstartedClassNewInstance() 325 if (cl->EnsureInitialized(self, h_klass, true, true)) { in UnstartedClassNewInstance() 326 ArtMethod* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() 331 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(self))); in UnstartedClassNewInstance() 341 h_klass->PrettyClass().c_str()); in UnstartedClassNewInstance() 346 h_klass->PrettyClass().c_str(), in UnstartedClassNewInstance()
|
/art/compiler/optimizing/ |
D | instruction_builder.cc | 1752 Handle<mirror::Class> h_klass = graph_->GetHandleCache()->NewHandle(klass); in ProcessClinitCheckForInvoke() local 1753 HLoadClass* cls = BuildLoadClass(h_klass->GetDexTypeIndex(), in ProcessClinitCheckForInvoke() 1754 h_klass->GetDexFile(), in ProcessClinitCheckForInvoke() 1755 h_klass, in ProcessClinitCheckForInvoke() 2626 Handle<mirror::Class> h_klass = graph_->GetHandleCache()->NewHandle(klass); in ResolveClass() local 2627 class_cache_.Put(type_index, h_klass); in ResolveClass() 2628 return h_klass; in ResolveClass()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 1381 for (Handle<mirror::Class> h_klass : to_insert_) { in Walk() 1382 MaybeAddToImageClasses(self_, h_klass.Get(), image_class_descriptors_); in Walk() 2273 Handle<mirror::Class> h_klass(hs.NewHandle(klass->GetClass())); in TryInitializeClass() local 2274 ObjectLock<mirror::Class> lock(self, h_klass); in TryInitializeClass()
|
/art/runtime/mirror/ |
D | class.cc | 1886 Handle<Class> h_klass = hs.NewHandle(klass); in GetDeclaredMethodInternal() local 1890 for (auto& m : h_klass->GetDeclaredVirtualMethods(kPointerSize)) { in GetDeclaredMethodInternal() 1923 for (auto& m : h_klass->GetDirectMethods(kPointerSize)) { in GetDeclaredMethodInternal()
|
/art/runtime/jni/ |
D | jni_internal.cc | 473 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in EnsureInitialized() local 474 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized() 477 return h_klass.Get(); in EnsureInitialized()
|