Home
last modified time | relevance | path

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

/art/runtime/
Dtransaction_test.cc49 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/
Dart_verifier.cc220 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/
Druntime_state.cc247 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/
Dquick_dexcache_entrypoints.cc144 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/
Djava_lang_Class.cc507 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()
Djava_lang_reflect_Field.cc136 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/
Dclass_verifier.cc74 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in ReverifyClass() local
116 h_klass.Get(), in ReverifyClass()
/art/runtime/gc/
Dheap-inl.h74 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&klass)); in AllocObjectWithAllocator()
75 l->PreObjectAllocated(self, h_klass, &byte_count); in AllocObjectWithAllocator()
/art/openjdkjvmti/
Dti_class.cc677 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()
Dti_redefine.cc354 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 …]
Dti_heap.cc1212 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/
Doatdump.cc3051 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/
Dunstarted_runtime.cc284 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/
Dcompiler_driver.cc1248 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/
Dclass.cc1471 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/
Dinstruction_builder.cc2026 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/
Djni_internal.cc307 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()