/art/runtime/ |
D | class_root-inl.h | 31 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, in GetClassRoot() function 48 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() function 50 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot() 54 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() function 56 return GetClassRoot<kReadBarrierOption>(class_root, Runtime::Current()->GetClassLinker()); in GetClassRoot() 80 inline ObjPtr<mirror::Class> GetClassRoot(ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots) in GetClassRoot() function 82 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, in GetClassRoot() 87 inline ObjPtr<mirror::Class> GetClassRoot(ClassLinker* linker) in GetClassRoot() function 89 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, linker); in GetClassRoot() 93 inline ObjPtr<mirror::Class> GetClassRoot() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassRoot() function [all …]
|
D | class_root.h | 129 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, 134 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) 138 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) REQUIRES_SHARED(Locks::mutator_lock_); 141 ObjPtr<mirror::Class> GetClassRoot(ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots) 145 ObjPtr<mirror::Class> GetClassRoot(ClassLinker* linker) REQUIRES_SHARED(Locks::mutator_lock_); 148 ObjPtr<mirror::Class> GetClassRoot() REQUIRES_SHARED(Locks::mutator_lock_);
|
D | proxy_test.h | 43 Handle<mirror::Class> javaLangObject = hs.NewHandle(GetClassRoot<mirror::Object>()); in GenerateProxyClass() 46 jclass javaLangClass = soa.AddLocalReference<jclass>(GetClassRoot<mirror::Class>()); in GenerateProxyClass() 64 soa.AddLocalReference<jclass>(GetClassRoot<mirror::Method>()), in GenerateProxyClass()
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 129 GetClassRoot<mirror::Class>(), in JavaLangClass() 138 GetClassRoot<mirror::String>(), in JavaLangString() 146 GetClassRoot<mirror::MethodHandle>(), in JavaLangInvokeMethodHandle() 154 GetClassRoot<mirror::MethodType>(), in JavaLangInvokeMethodType() 162 GetClassRoot<mirror::Throwable>(), in JavaLangThrowable() 174 const RegType* result = &FromClass("Ljava/lang/Object;", GetClassRoot<mirror::Object>(), precise); in JavaLangObject()
|
/art/runtime/mirror/ |
D | method.cc | 31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod() 47 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
|
D | method_handles_lookup.cc | 37 GetClassRoot<MethodHandlesLookup>()->AllocObject(self)); in Create()
|
D | stack_trace_element.cc | 36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
|
D | method_handle_impl.cc | 52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
|
D | method_type.cc | 33 ObjPtr<Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in AllocatePTypesArray() 44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->AllocObject(self)))); in Create()
|
D | field.cc | 77 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
|
D | emulated_stack_frame.cc | 165 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs() 187 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
|
D | class_ext.cc | 118 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
|
/art/test/1985-structural-redefine-stack-scope/ |
D | stack_scope.cc | 64 GetClassRoot<mirror::Class>()), in Java_Main_NativeFieldScopeCheck() 67 soa.Self(), hs.NewHandle(GetClassRoot<mirror::Object>()), mt_arr))); in Java_Main_NativeFieldScopeCheck()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 590 return GetClassRoot(ClassRoot::kPrimitiveInt, class_roots); in GetClassForBootstrapArgument() 592 return GetClassRoot(ClassRoot::kPrimitiveLong, class_roots); in GetClassForBootstrapArgument() 594 return GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots); in GetClassForBootstrapArgument() 596 return GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots); in GetClassForBootstrapArgument() 598 return GetClassRoot<mirror::MethodType>(class_roots); in GetClassForBootstrapArgument() 600 return GetClassRoot<mirror::MethodHandle>(class_roots); in GetClassForBootstrapArgument() 602 return GetClassRoot<mirror::String>(); in GetClassForBootstrapArgument() 604 return GetClassRoot<mirror::Class>(); in GetClassForBootstrapArgument() 804 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod() 806 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod() [all …]
|
D | unstarted_runtime_test.cc | 397 ObjPtr<mirror::Class> klass = GetClassRoot<mirror::String>(); in TEST_F() 457 Handle<mirror::Class> object_class(hs_misc.NewHandle(GetClassRoot<mirror::Object>())); in TEST_F() 487 Handle<mirror::Class> object_class(hs_object.NewHandle(GetClassRoot<mirror::Object>())); in TEST_F() 542 GetClassRoot<mirror::String>(), in TEST_F() 556 hs_src.NewHandle(GetClassRoot<mirror::String>()); in TEST_F() 573 GetClassRoot<mirror::String>(), in TEST_F() 884 ObjPtr<mirror::Class> class_klass = GetClassRoot<mirror::Class>(); in TEST_F() 974 ObjPtr<mirror::Class> class_class = GetClassRoot<mirror::Class>(); in TEST_F() 1085 Handle<mirror::Class> h_class = hs.NewHandle(GetClassRoot<mirror::Class>()); in RunTest() 1319 Handle<mirror::Class> throw_class = hs.NewHandle(GetClassRoot<mirror::Throwable>()); in TEST_F() [all …]
|
/art/runtime/gc/ |
D | reference_processor.cc | 56 DCHECK(reference_class == GetClassRoot<mirror::Reference>()); in GetSlowPathFlagOffset() 64 ObjPtr<mirror::Class> reference_class = GetClassRoot<mirror::Reference>(); in SetSlowPathFlag() 80 ObjPtr<mirror::Class> reference_class = GetClassRoot<mirror::Reference>(); in SlowPathEnabled()
|
/art/runtime/native/ |
D | dalvik_system_BaseDexClassLoader.cc | 56 self, GetClassRoot<mirror::ObjectArray<mirror::String>>(), 2 * context_map.size())); in BaseDexClassLoader_computeClassLoaderContextsNative()
|
D | string_array_utils.h | 41 self, GetClassRoot<mirror::ObjectArray<mirror::String>>(), size)); in CreateStringArray()
|
D | java_lang_reflect_Method.cc | 71 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes()
|
D | java_lang_reflect_Constructor.cc | 47 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Constructor_getExceptionTypes()
|
D | java_lang_Class.cc | 187 GetClassRoot<mirror::ObjectArray<mirror::Class>>(linker); in Class_getInterfacesInternal() 455 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Constructor>>(), constructor_count)); in Class_getDeclaredConstructorsInternal() 524 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked() 610 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Class_getDeclaredClasses() 646 if (GetClassRoot<mirror::Constructor>() == method->GetClass()) { in Class_getEnclosingConstructorNative() 666 if (GetClassRoot<mirror::Method>() == method->GetClass()) { in Class_getEnclosingMethodNative()
|
/art/compiler/optimizing/ |
D | intrinsics_utils.h | 216 ? GetClassRoot<mirror::StaticFieldVarHandle>() in GetBootImageVarHandleField() 217 : GetClassRoot<mirror::FieldVarHandle>())); in GetBootImageVarHandleField()
|
D | intrinsics.cc | 369 ArtField* field = GetClassRoot<mirror::Reference>()->GetStaticField(0); in GetReferenceDisableIntrinsicOffset() 377 ArtField* field = GetClassRoot<mirror::Reference>()->GetStaticField(1); in GetReferenceSlowPathEnabledOffset() 412 ObjPtr<mirror::Class> string_class = GetClassRoot<mirror::String>(); in AssertNonMovableStringClass()
|
D | instruction_simplifier_test.cc | 111 /* ti= */ std::nullopt, vshs->NewHandle<mirror::Class>(GetClassRoot<mirror::ClassExt>())); in GetLoadClasses() 128 GetClassRoot<mirror::Object>() : in GetLoadClasses() 129 GetClassRoot<mirror::Throwable>())); in GetLoadClasses()
|
/art/runtime/jni/ |
D | local_reference_table_test.cc | 72 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in BasicTest() 309 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in BasicHolesTest() 520 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in BasicResizeTest() 560 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in TestAddRemove() 707 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in TestAddRemoveMixed() 782 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F() 829 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F() 853 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F() 977 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F()
|