Home
last modified time | relevance | path

Searched refs:h_klass (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Dtransaction_test.cc43 MutableHandle<mirror::Class> h_klass( in testTransactionAbort() local
46 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort()
47 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
48 ASSERT_TRUE(h_klass->IsInitialized()); in testTransactionAbort()
50 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
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()
57 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort()
59 ASSERT_TRUE(h_klass != nullptr); in testTransactionAbort()
[all …]
Djni_internal.cc237 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in EnsureInitialized() local
238 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized()
241 return h_klass.Get(); in EnsureInitialized()
/art/runtime/native/
Djava_lang_Class.cc478 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredField() local
480 hs.NewHandle(GetDeclaredField(soa.Self(), h_klass.Get(), h_string.Get())); in Class_getDeclaredField()
483 if (name_str == "value" && h_klass->IsStringClass()) { in Class_getDeclaredField()
494 ThrowNoSuchFieldException(h_klass.Get(), name_str.c_str()); in Class_getDeclaredField()
534 Handle<mirror::Class> h_klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredConstructorsInternal() local
537 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal()
547 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal()
Djava_lang_reflect_Field.cc133 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&declaring_class)); in CheckReceiver() local
135 if (UNLIKELY(!class_linker->EnsureInitialized(soa.Self(), h_klass, true, true))) { in CheckReceiver()
/art/openjdkjvmti/
Dti_class.cc668 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in GetImplementedInterfaces() local
672 art::mirror::Class::ResolveDirectInterface(soa.Self(), h_klass, idx); in GetImplementedInterfaces()
715 art::Handle<art::mirror::Class> h_klass = hs.NewHandle(klass); in GetClassSignature() local
717 art::annotations::GetSignatureAnnotationForClass(h_klass); in GetClassSignature()
826 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(klass)); in ClassGetModifiers() local
827 return art::mirror::Class::GetInnerClassFlags(h_klass, modifiers); in ClassGetModifiers()
Dti_heap.cc1120 art::Handle<art::mirror::Class> h_klass(hs.NewHandle<art::mirror::Class>(klass)); in VisitClass() local
1121 for (size_t i = 0; i < h_klass->NumDirectInterfaces(); ++i) { in VisitClass()
1123 art::mirror::Class::ResolveDirectInterface(self, h_klass, i); in VisitClass()
1151 DCHECK_EQ(h_klass.Get(), klass); in VisitClass()
/art/oatdump/
Doatdump.cc3245 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in DumpImtStats() local
3253 h_klass.Assign(class_linker->FindClass(self, descriptor, h_class_loader)); in DumpImtStats()
3254 if (h_klass == nullptr) { in DumpImtStats()
3259 if (HasNoIMT(runtime, h_klass, pointer_size, &prepared)) { in DumpImtStats()
3264 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats()
3388 Handle<mirror::Class> h_klass = scope.NewHandle<mirror::Class>(klass); in PrepareAndGetImTable() local
3390 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable()
3391 *klass_out = h_klass.Get(); in PrepareAndGetImTable()
3396 Handle<mirror::Class> h_klass, in PrepareAndGetImTable() argument
3400 PrepareClass(runtime, h_klass, prepared); in PrepareAndGetImTable()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h128 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in CheckObjectAlloc()
138 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in CheckObjectAlloc()
144 return h_klass.Get(); in CheckObjectAlloc()
/art/runtime/interpreter/
Dunstarted_runtime.cc273 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in UnstartedClassNewInstance() local
276 if (h_klass == nullptr) { in UnstartedClassNewInstance()
283 if (h_klass.Get()->IsFinalizable()) { in UnstartedClassNewInstance()
285 h_klass->PrettyClass().c_str()); in UnstartedClassNewInstance()
296 if (cl->EnsureInitialized(self, h_klass, true, true)) { in UnstartedClassNewInstance()
297 ArtMethod* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance()
312 h_klass->PrettyClass().c_str()); in UnstartedClassNewInstance()
317 h_klass->PrettyClass().c_str(), in UnstartedClassNewInstance()
/art/compiler/driver/
Dcompiler_driver.cc1239 for (Handle<mirror::Class> h_klass : to_insert_) { in Walk()
1240 MaybeAddToImageClasses(self, h_klass.Get(), image_class_descriptors_); in Walk()
2285 Handle<mirror::Class> h_klass(hs.NewHandle(klass->GetClass())); in TryInitializeClass() local
2286 ObjectLock<mirror::Class> lock(soa.Self(), h_klass); in TryInitializeClass()
2622 auto h_klass = hs.NewHandleWrapper(&klass); in operator ()() local
2623 Runtime::Current()->GetClassLinker()->EnsureInitialized(hs.Self(), h_klass, true, true); in operator ()()
/art/runtime/mirror/
Dclass.cc1283 Handle<Class> h_klass = hs.NewHandle(klass); in GetDeclaredMethodInternal() local
1285 for (auto& m : h_klass->GetDeclaredVirtualMethods(kPointerSize)) { in GetDeclaredMethodInternal()
1303 for (auto& m : h_klass->GetDirectMethods(kPointerSize)) { in GetDeclaredMethodInternal()
/art/runtime/jdwp/
Djdwp_event.cc257 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in UnregisterLocationEventsOnClass() local
272 if (breakpoint_class == h_klass.Get()) { in UnregisterLocationEventsOnClass()