Home
last modified time | relevance | path

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

/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc54 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesVerified() local
62 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesVerified()
63 CHECK(h_class != nullptr) << "Could not find class " << desc; in Java_Main_areClassesVerified()
64 bool is_verified = h_class->IsVerified(); in Java_Main_areClassesVerified()
148 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesPreverified() local
156 h_class.Assign(class_linker->FindClass(soa.Self(), desc, h_loader)); in Java_Main_areClassesPreverified()
157 CHECK(h_class != nullptr) << "Could not find class " << desc; in Java_Main_areClassesPreverified()
161 *dex_file, h_class.Get(), oat_file_class_status); in Java_Main_areClassesPreverified()
/art/runtime/
Doat_file_manager.cc909 Handle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(class_linker->FindClass( in Run() local
914 if (h_class == nullptr) { in Run()
920 if (&h_class->GetDexFile() != dex_file) { in Run()
926 CHECK(h_class->IsResolved()) << h_class->PrettyDescriptor(); in Run()
927 class_linker->VerifyClass(self, h_class); in Run()
928 if (h_class->IsErroneous()) { in Run()
934 CHECK(h_class->IsVerified() || h_class->IsErroneous()) in Run()
935 << h_class->PrettyDescriptor() << ": state=" << h_class->GetStatus(); in Run()
937 if (h_class->IsVerified()) { in Run()
Dclass_linker.cc925 Handle<mirror::Class> h_class(hs.NewHandle(c)); in RunRootClinits() local
926 EnsureInitialized(self, h_class, true, true); in RunRootClinits()
2622 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in EnsureResolved() local
2623 ObjectLock<mirror::Class> lock(self, h_class); in EnsureResolved()
2625 while (!h_class->IsRetired() && !h_class->IsErroneousUnresolved()) { in EnsureResolved()
2628 if (h_class->IsErroneousUnresolved()) { in EnsureResolved()
2629 ThrowEarlierClassFailure(h_class.Get()); in EnsureResolved()
2632 CHECK(h_class->IsRetired()); in EnsureResolved()
2634 klass = LookupClass(self, descriptor, h_class.Get()->GetClassLoader()); in EnsureResolved()
2645 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&klass)); in EnsureResolved() local
[all …]
Dhidden_api_test.cc417 Handle<mirror::Class> h_class = hs.NewHandle(soa.Decode<mirror::Class>( in LoadDexFiles() local
422 h_class, in LoadDexFiles()
Dreflection_test.cc123 HandleWrapperObjPtr<mirror::Class> h_class(hs2.NewHandleWrapper(&c)); in ReflectionTestMakeInterpreted() local
124 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted()
Dreflection.cc666 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&declaring_class)); in InvokeMethod() local
667 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), h_class, true, true)) { in InvokeMethod()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h164 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in CheckClassInitializedForObjectAlloc()
174 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in CheckClassInitializedForObjectAlloc()
178 return h_class.Get(); in CheckClassInitializedForObjectAlloc()
736 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in ResolveVerifyAndClinit()
737 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in ResolveVerifyAndClinit()
741 return h_class.Get(); in ResolveVerifyAndClinit()
/art/runtime/interpreter/
Dunstarted_runtime.cc149 HandleWrapperObjPtr<mirror::Class> h_class = hs.NewHandleWrapper(&found); in UnstartedRuntimeFindClass() local
150 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in UnstartedRuntimeFindClass()
624 Handle<mirror::Class> h_class(hs.NewHandle( in GetResourceAsStream() local
628 if (h_class == nullptr) { in GetResourceAsStream()
632 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in GetResourceAsStream()
637 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in GetResourceAsStream()
644 ArtMethod* constructor = h_class->FindConstructor("([B)V", cl->GetImagePointerSize()); in GetResourceAsStream()
1055 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in CreateInstanceOf() local
1056 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in CreateInstanceOf()
1058 ArtMethod* init_method = h_class->FindConstructor("()V", class_linker->GetImagePointerSize()); in CreateInstanceOf()
[all …]
Dinterpreter_common.h408 Handle<mirror::Class> h_class(hs.NewHandle(java_lang_string_class)); in ResolveString()
409 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in ResolveString()
Dinterpreter.cc480 Handle<mirror::Class> h_class(hs.NewHandle(method->GetDeclaringClass())); in EnterInterpreterFromInvoke() local
481 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in EnterInterpreterFromInvoke()
Dinterpreter_common.cc591 Handle<mirror::Class> h_class(hs.NewHandle(declaringClass)); in ArtInterpreterToCompiledCodeBridge() local
592 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, in ArtInterpreterToCompiledCodeBridge()
599 CHECK(h_class->IsInitializing()); in ArtInterpreterToCompiledCodeBridge()
Dunstarted_runtime_test.cc1087 Handle<mirror::Class> h_class = hs.NewHandle(GetClassRoot<mirror::Class>()); in RunTest() local
1088 CHECK(class_linker->EnsureInitialized(self, h_class, true, true)); in RunTest()
/art/runtime/native/
Ddalvik_system_VMDebug.cc366 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in VMDebug_getInstancesOfClasses() local
368 h_class.Assign(classes->Get(i)); in VMDebug_getInstancesOfClasses()
372 heap->GetInstances(hs2, h_class, includeAssignable, /* max_count= */ 0, raw_instances); in VMDebug_getInstancesOfClasses()
/art/runtime/gc/
Dheap.cc1941 Handle<mirror::Class> h_class, in MatchesClass() argument
1945 ObjPtr<mirror::Class> klass = h_class.Get(); in MatchesClass()
1966 Handle<mirror::Class> h_class, in GetInstances() argument
1972 if (MatchesClass(obj, h_class, use_is_assignable_from)) { in GetInstances()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc782 Handle<mirror::Class> h_class(hs.NewHandle(shadow_frame->GetMethod()->GetDeclaringClass())); in artQuickToInterpreterBridge() local
783 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickToInterpreterBridge()