Home
last modified time | relevance | path

Searched refs:GetClassRoot (Results 1 – 25 of 76) 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.h129 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_);
Dproxy_test.h43 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/
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()
174 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()
Dmethod_type.cc33 ObjPtr<Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in AllocatePTypesArray()
44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->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()
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.cc590 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 …]
Dunstarted_runtime_test.cc397 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/
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.h41 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()
Djava_lang_Class.cc187 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/
Dintrinsics_utils.h216 ? GetClassRoot<mirror::StaticFieldVarHandle>() in GetBootImageVarHandleField()
217 : GetClassRoot<mirror::FieldVarHandle>())); in GetBootImageVarHandleField()
Dintrinsics.cc369 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()
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()
/art/runtime/jni/
Dlocal_reference_table_test.cc72 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()

1234