/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 54 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/ |
D | oat_file_manager.cc | 909 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()
|
D | class_linker.cc | 925 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 …]
|
D | hidden_api_test.cc | 417 Handle<mirror::Class> h_class = hs.NewHandle(soa.Decode<mirror::Class>( in LoadDexFiles() local 422 h_class, in LoadDexFiles()
|
D | reflection_test.cc | 123 HandleWrapperObjPtr<mirror::Class> h_class(hs2.NewHandleWrapper(&c)); in ReflectionTestMakeInterpreted() local 124 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted()
|
D | reflection.cc | 666 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/ |
D | entrypoint_utils-inl.h | 164 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/ |
D | unstarted_runtime.cc | 149 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 …]
|
D | interpreter_common.h | 408 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()
|
D | interpreter.cc | 480 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()
|
D | interpreter_common.cc | 591 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()
|
D | unstarted_runtime_test.cc | 1087 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/ |
D | dalvik_system_VMDebug.cc | 366 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/ |
D | heap.cc | 1941 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/ |
D | quick_trampoline_entrypoints.cc | 782 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()
|