Home
last modified time | relevance | path

Searched refs:GetClassRoot (Results 1 – 25 of 79) sorted by relevance

1234

/art/runtime/
Dclass_root-inl.h31 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 …]
Dclass_root.h130 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root,
135 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker)
139 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) REQUIRES_SHARED(Locks::mutator_lock_);
142 ObjPtr<mirror::Class> GetClassRoot(ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots)
146 ObjPtr<mirror::Class> GetClassRoot(ClassLinker* linker) REQUIRES_SHARED(Locks::mutator_lock_);
149 ObjPtr<mirror::Class> GetClassRoot() REQUIRES_SHARED(Locks::mutator_lock_);
Dproxy_test.h44 Handle<mirror::Class> javaLangObject = hs.NewHandle(GetClassRoot<mirror::Object>()); in GenerateProxyClass()
47 jclass javaLangClass = soa.AddLocalReference<jclass>(GetClassRoot<mirror::Class>()); in GenerateProxyClass()
65 soa.AddLocalReference<jclass>(GetClassRoot<mirror::Method>()), in GenerateProxyClass()
/art/runtime/verifier/
Dreg_type_cache-inl.h129 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()
170 const RegType* result = &FromClass("Ljava/lang/Object;", GetClassRoot<mirror::Object>(), precise); in JavaLangObject()
/art/runtime/mirror/
Dmethod.cc31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod()
47 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
Dmethod_handles_lookup.cc37 GetClassRoot<MethodHandlesLookup>()->AllocObject(self)); in Create()
Dstack_trace_element.cc36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
Dmethod_handle_impl.cc52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
Dfield.cc77 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
Demulated_stack_frame.cc165 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs()
187 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
Dmethod_type.cc35 ObjPtr<Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in AllocatePTypesArray()
66 self, GetClassRoot<mirror::ObjectArray<mirror::Class>>(), num_method_args)); in Create()
Dclass_ext.cc118 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
/art/test/1985-structural-redefine-stack-scope/
Dstack_scope.cc64 GetClassRoot<mirror::Class>()), in Java_Main_NativeFieldScopeCheck()
67 soa.Self(), hs.NewHandle(GetClassRoot<mirror::Object>()), mt_arr))); in Java_Main_NativeFieldScopeCheck()
/art/runtime/interpreter/
Dinterpreter_common.cc616 return GetClassRoot(ClassRoot::kPrimitiveInt, class_roots); in GetClassForBootstrapArgument()
618 return GetClassRoot(ClassRoot::kPrimitiveLong, class_roots); in GetClassForBootstrapArgument()
620 return GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots); in GetClassForBootstrapArgument()
622 return GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots); in GetClassForBootstrapArgument()
624 return GetClassRoot<mirror::MethodType>(class_roots); in GetClassForBootstrapArgument()
626 return GetClassRoot<mirror::MethodHandle>(class_roots); in GetClassForBootstrapArgument()
628 return GetClassRoot<mirror::String>(); in GetClassForBootstrapArgument()
630 return GetClassRoot<mirror::Class>(); in GetClassForBootstrapArgument()
837 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod()
839 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod()
[all …]
Dunstarted_runtime_test.cc340 ObjPtr<mirror::Class> klass = GetClassRoot<mirror::String>(); in TEST_F()
399 Handle<mirror::Class> object_class(hs_misc.NewHandle(GetClassRoot<mirror::Object>())); in TEST_F()
449 GetClassRoot<mirror::Object>(), in TEST_F()
450 GetClassRoot<mirror::Object>(), in TEST_F()
480 GetClassRoot<mirror::Object>(), in TEST_F()
481 GetClassRoot<mirror::String>(), in TEST_F()
495 hs_src.NewHandle(GetClassRoot<mirror::String>()); in TEST_F()
511 GetClassRoot<mirror::Object>(), in TEST_F()
512 GetClassRoot<mirror::String>(), in TEST_F()
778 ObjPtr<mirror::Class> class_klass = GetClassRoot<mirror::Class>(); in TEST_F()
[all …]
Dunstarted_runtime_transaction_test.cc101 ObjPtr<mirror::Class> class_class = GetClassRoot<mirror::Class>(); in TEST_F()
144 CHECK(GetClassRoot<mirror::Class>()->IsInitialized()); in RunTest()
/art/compiler/optimizing/
Dinstruction_simplifier_test.cc111 /* ti= */ std::nullopt, vshs->NewHandle<mirror::Class>(GetClassRoot<mirror::ClassExt>())); in GetLoadClasses()
128 GetClassRoot<mirror::Object>() : in GetLoadClasses()
129 GetClassRoot<mirror::Throwable>())); in GetLoadClasses()
Dintrinsics.cc177 ArtField* field = GetClassRoot<mirror::Reference>()->GetStaticField(0); in GetReferenceDisableIntrinsicOffset()
185 ArtField* field = GetClassRoot<mirror::Reference>()->GetStaticField(1); in GetReferenceSlowPathEnabledOffset()
220 ObjPtr<mirror::Class> string_class = GetClassRoot<mirror::String>(); in AssertNonMovableStringClass()
Dintrinsics_utils.h226 ? GetClassRoot<mirror::StaticFieldVarHandle>() in GetBootImageVarHandleField()
227 : GetClassRoot<mirror::FieldVarHandle>())); in GetBootImageVarHandleField()
/art/runtime/gc/
Dreference_processor.cc56 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/
Ddalvik_system_BaseDexClassLoader.cc56 self, GetClassRoot<mirror::ObjectArray<mirror::String>>(), 2 * context_map.size())); in BaseDexClassLoader_computeClassLoaderContextsNative()
Dstring_array_utils.h42 self, GetClassRoot<mirror::ObjectArray<mirror::String>>(), size)); in CreateStringArray()
Djava_lang_reflect_Method.cc71 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes()
Djava_lang_reflect_Constructor.cc47 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Constructor_getExceptionTypes()
/art/runtime/jni/
Dlocal_reference_table_test.cc72 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in BasicTest()
307 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in BasicHolesTest()
518 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in BasicResizeTest()
557 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in TestAddRemove()
705 Handle<mirror::Class> c = hs.NewHandle(GetClassRoot<mirror::Object>()); in TestAddRemoveMixed()
787 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F()
842 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F()
865 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F()
991 ObjPtr<mirror::Class> c = GetClassRoot<mirror::Object>(); in TEST_F()

1234