/art/runtime/ |
D | transaction_test.cc | 44 MutableHandle<mirror::Class> h_klass( in testTransactionAbort() local 47 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() 48 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 49 ASSERT_TRUE(h_klass->IsInitialized()); in testTransactionAbort() 51 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort() 53 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() 54 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort() 55 ASSERT_TRUE(h_klass->IsInitialized()); in testTransactionAbort() 58 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort() 60 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort() [all …]
|
D | debugger.cc | 3935 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&c)); in PrepareInvokeMethod() local
|
/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/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 141 Handle<mirror::Class> h_klass = hs.NewHandle(klass); in artInitializeStaticStorageFromCode() local 143 self, h_klass, /* can_init_fields= */ true, /* can_init_parents= */ true); in artInitializeStaticStorageFromCode() 147 return h_klass.Get(); in artInitializeStaticStorageFromCode()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 292 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClass() local 295 Redefiner::GetClassRedefinitionError(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClass() 308 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in GetClassRedefinitionError() local 309 return Redefiner::GetClassRedefinitionError(h_klass, error_msg); in GetClassRedefinitionError() 668 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(GetMirrorClass())); in CheckSameMethods() local 674 uint32_t num_old_method = h_klass->GetDeclaredMethodsSlice(art::kRuntimePointerSize).size(); in CheckSameMethods() 693 art::ArtMethod* old_method = FindMethod(h_klass, new_method_name, new_method_signature); in CheckSameMethods() 721 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(GetMirrorClass())); in CheckSameFields() local 725 const art::DexFile& old_dex_file = h_klass->GetDexFile(); in CheckSameFields() 726 art::ClassAccessor old_accessor(old_dex_file, *h_klass->GetClassDef()); in CheckSameFields() [all …]
|
D | ti_class.cc | 672 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in GetImplementedInterfaces() local 676 art::mirror::Class::ResolveDirectInterface(soa.Self(), h_klass, idx); in GetImplementedInterfaces() 719 art::Handle<art::mirror::Class> h_klass = hs.NewHandle(klass); in GetClassSignature() local 721 art::annotations::GetSignatureAnnotationForClass(h_klass); in GetClassSignature() 830 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in ClassGetModifiers() local 831 return art::mirror::Class::GetInnerClassFlags(h_klass, modifiers); in ClassGetModifiers()
|
D | ti_heap.cc | 1186 art::Handle<art::mirror::Class> h_klass(hs.NewHandle<art::mirror::Class>(klass)); in VisitClass() local 1187 for (size_t i = 0; i < h_klass->NumDirectInterfaces(); ++i) { in VisitClass() 1189 art::mirror::Class::ResolveDirectInterface(self, h_klass, i); in VisitClass() 1217 DCHECK_EQ(h_klass.Get(), klass); in VisitClass()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 470 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredField() local 472 hs.NewHandle(GetDeclaredField(soa.Self(), h_klass.Get(), h_string.Get())); in Class_getDeclaredField() 475 if (name_str == "value" && h_klass->IsStringClass()) { in Class_getDeclaredField() 486 ThrowNoSuchFieldException(h_klass.Get(), name_str.c_str()); in Class_getDeclaredField() 527 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredConstructorsInternal() local 530 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 540 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal()
|
D | java_lang_reflect_Field.cc | 135 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&declaring_class)); in CheckReceiver() local 137 if (UNLIKELY(!class_linker->EnsureInitialized(soa.Self(), h_klass, true, true))) { in CheckReceiver()
|
/art/oatdump/ |
D | oatdump.cc | 3033 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in DumpImtStats() local 3041 h_klass.Assign(class_linker->FindClass(self, descriptor, h_class_loader)); in DumpImtStats() 3042 if (h_klass == nullptr) { in DumpImtStats() 3047 if (HasNoIMT(runtime, h_klass, pointer_size, &prepared)) { in DumpImtStats() 3052 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats() 3177 Handle<mirror::Class> h_klass = scope.NewHandle<mirror::Class>(klass); in PrepareAndGetImTable() local 3179 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable() 3180 *klass_out = h_klass.Get(); in PrepareAndGetImTable() 3185 Handle<mirror::Class> h_klass, in PrepareAndGetImTable() argument 3189 PrepareClass(runtime, h_klass, prepared); in PrepareAndGetImTable() [all …]
|
/art/test/common/ |
D | runtime_state.cc | 224 Handle<mirror::Class> h_klass(hs.NewHandle(method->GetDeclaringClass())); in ForceJitCompiled() local 225 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 135 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in CheckObjectAlloc() 145 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in CheckObjectAlloc() 151 return h_klass.Get(); in CheckObjectAlloc()
|
/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/runtime/jdwp/ |
D | jdwp_event.cc | 257 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in UnregisterLocationEventsOnClass() local 272 if (breakpoint_class == h_klass.Get()) { in UnregisterLocationEventsOnClass()
|
/art/runtime/jni/ |
D | jni_internal.cc | 423 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in EnsureInitialized() local 424 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized() 427 return h_klass.Get(); in EnsureInitialized()
|