Home
last modified time | relevance | path

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

/art/runtime/entrypoints/
Dentrypoint_utils-inl.h157 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in CheckClassInitializedForObjectAlloc()
167 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in CheckClassInitializedForObjectAlloc()
171 return h_class.Get(); in CheckClassInitializedForObjectAlloc()
739 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in ResolveVerifyAndClinit()
740 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in ResolveVerifyAndClinit()
744 return h_class.Get(); in ResolveVerifyAndClinit()
/art/runtime/interpreter/
Dunstarted_runtime.cc145 Handle<mirror::Class> h_class(hs.NewHandle(found)); in UnstartedRuntimeFindClass() local
146 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in UnstartedRuntimeFindClass()
616 Handle<mirror::Class> h_class(hs.NewHandle( in GetResourceAsStream() local
620 if (h_class == nullptr) { in GetResourceAsStream()
624 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in GetResourceAsStream()
629 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in GetResourceAsStream()
636 ArtMethod* constructor = h_class->FindConstructor("([B)V", cl->GetImagePointerSize()); in GetResourceAsStream()
1045 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in CreateInstanceOf() local
1046 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in CreateInstanceOf()
1048 ArtMethod* init_method = h_class->FindConstructor("()V", class_linker->GetImagePointerSize()); in CreateInstanceOf()
[all …]
Dinterpreter_common.h335 Handle<mirror::Class> h_class(hs.NewHandle(java_lang_string_class)); in ResolveString()
336 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in ResolveString()
Dinterpreter.cc451 Handle<mirror::Class> h_class(hs.NewHandle(method->GetDeclaringClass())); in EnterInterpreterFromInvoke() local
452 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in EnterInterpreterFromInvoke()
Dinterpreter_common.cc535 Handle<mirror::Class> h_class(hs.NewHandle(declaringClass)); in ArtInterpreterToCompiledCodeBridge() local
536 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, in ArtInterpreterToCompiledCodeBridge()
543 CHECK(h_class->IsInitializing()); in ArtInterpreterToCompiledCodeBridge()
Dunstarted_runtime_test.cc1109 Handle<mirror::Class> h_class = hs.NewHandle(mirror::Class::GetJavaLangClass()); in RunTest() local
1110 CHECK(class_linker->EnsureInitialized(self, h_class, true, true)); in RunTest()
/art/runtime/native/
Ddalvik_system_VMDebug.cc348 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in VMDebug_getInstancesOfClasses() local
350 h_class.Assign(classes->Get(i)); in VMDebug_getInstancesOfClasses()
354 heap->GetInstances(hs2, h_class, includeAssignable, /* max_count */ 0, raw_instances); in VMDebug_getInstancesOfClasses()
/art/runtime/
Dclass_linker.cc884 Handle<mirror::Class> h_class(hs.NewHandle(GetClassRoot(ClassRoot(i)))); in RunRootClinits() local
885 EnsureInitialized(self, h_class, true, true); in RunRootClinits()
2307 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in EnsureResolved() local
2308 ObjectLock<mirror::Class> lock(self, h_class); in EnsureResolved()
2310 while (!h_class->IsRetired() && !h_class->IsErroneousUnresolved()) { in EnsureResolved()
2313 if (h_class->IsErroneousUnresolved()) { in EnsureResolved()
2314 ThrowEarlierClassFailure(h_class.Get()); in EnsureResolved()
2317 CHECK(h_class->IsRetired()); in EnsureResolved()
2319 klass = LookupClass(self, descriptor, h_class.Get()->GetClassLoader()); in EnsureResolved()
2330 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&klass)); in EnsureResolved() local
[all …]
Dreflection_test.cc122 HandleWrapperObjPtr<mirror::Class> h_class(hs2.NewHandleWrapper(&c)); in ReflectionTestMakeExecutable() local
123 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeExecutable()
Dreflection.cc606 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&declaring_class)); in InvokeMethod() local
607 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), h_class, true, true)) { in InvokeMethod()
/art/runtime/gc/
Dheap.cc1792 Handle<mirror::Class> h_class, in MatchesClass() argument
1796 ObjPtr<mirror::Class> klass = h_class.Get(); in MatchesClass()
1817 Handle<mirror::Class> h_class, in GetInstances() argument
1823 if (MatchesClass(obj, h_class, use_is_assignable_from)) { in GetInstances()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc818 Handle<mirror::Class> h_class(hs.NewHandle(shadow_frame->GetMethod()->GetDeclaringClass())); in artQuickToInterpreterBridge() local
819 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickToInterpreterBridge()