Home
last modified time | relevance | path

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

123

/art/runtime/
Dclass_root.h118 inline ObjPtr<mirror::Class> GetClassRoot( in GetClassRoot() function
136 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() function
138 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot()
142 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() function
144 return GetClassRoot<kReadBarrierOption>(class_root, Runtime::Current()->GetClassLinker()); in GetClassRoot()
168 inline ObjPtr<mirror::Class> GetClassRoot(ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots) in GetClassRoot() function
170 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, in GetClassRoot()
175 inline ObjPtr<mirror::Class> GetClassRoot(ClassLinker* linker) in GetClassRoot() function
177 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, linker); in GetClassRoot()
181 inline ObjPtr<mirror::Class> GetClassRoot() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassRoot() function
[all …]
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()
Dclass_linker.cc211 ObjPtr<mirror::Class> throwable_class = GetClassRoot<mirror::Throwable>(class_linker); in HandleEarlierVerifyError()
574 int_array_class->SetComponentType(GetClassRoot(ClassRoot::kPrimitiveInt, this)); in InitWithoutImage()
580 long_array_class->SetComponentType(GetClassRoot(ClassRoot::kPrimitiveLong, this)); in InitWithoutImage()
846 ObjPtr<mirror::Class> string_class = GetClassRoot<mirror::String>(class_linker); in CreateStringInitBindings()
863 hs.NewHandle(GetClassRoot<mirror::Reference>(this)); in FinishInit()
890 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in FinishInit()
922 ObjPtr<mirror::Class> c = GetClassRoot(ClassRoot(i), this); in RunRootClinits()
1060 DCHECK_EQ(GetClassRoot<mirror::Class>(this)->GetClassFlags(), mirror::kClassFlagClass); in InitFromBootImage()
1062 ObjPtr<mirror::Class> java_lang_Object = GetClassRoot<mirror::Object>(this); in InitFromBootImage()
2034 if (class_roots->Get(i) != GetClassRoot(static_cast<ClassRoot>(i), existing_class_roots)) { in AddImageSpace()
[all …]
/art/runtime/verifier/
Dreg_type_cache-inl.h128 GetClassRoot<mirror::Class>(), in JavaLangClass()
137 GetClassRoot<mirror::String>(), in JavaLangString()
145 GetClassRoot<mirror::MethodHandle>(), in JavaLangInvokeMethodHandle()
153 GetClassRoot<mirror::MethodType>(), in JavaLangInvokeMethodType()
161 GetClassRoot<mirror::Throwable>(), in JavaLangThrowable()
173 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()
51 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
Dmethod_handle_impl.cc52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
Dstack_trace_element.cc36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
Dmethod_handles_lookup.cc38 GetClassRoot<MethodHandlesLookup>()->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-inl.h67 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
Dmethod_type_test.cc59 GetClassRoot<mirror::ObjectArray<mirror::Class>>(class_linker); in CreateMethodType()
Dclass_ext.cc106 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
Demulated_stack_frame.cc173 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs()
198 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
Darray.cc126 GetClassRoot<PrimitiveArray<T>>(), in Alloc()
Dthrowable.cc132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
Dvar_handle_test.cc49 ObjPtr<FieldVarHandle>::DownCast(GetClassRoot<FieldVarHandle>()->AllocObject(self))); in CreateFieldVarHandle()
73 GetClassRoot<ArrayElementVarHandle>()->AllocObject(self))); in CreateArrayElementVarHandle()
92 GetClassRoot<ByteArrayViewVarHandle>()->AllocObject(self))); in CreateByteArrayViewVarHandle()
98 Handle<Class> byte_array_class(hs.NewHandle(GetClassRoot<mirror::ByteArray>())); in CreateByteArrayViewVarHandle()
113 GetClassRoot<ByteArrayViewVarHandle>()->AllocObject(self))); in CreateByteBufferViewVarHandle()
220 ObjPtr<mirror::Class> array_of_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in MethodTypeOf()
596 GetClassRoot<mirror::ObjectArray<mirror::String>>()); in TEST_F()
750 Handle<Class> char_array_class(hs.NewHandle(GetClassRoot<mirror::CharArray>())); in TEST_F()
902 Handle<Class> double_array_class(hs.NewHandle(GetClassRoot<mirror::DoubleArray>())); in TEST_F()
/art/runtime/interpreter/
Dinterpreter_common.cc931 return GetClassRoot(ClassRoot::kPrimitiveInt, class_roots); in GetClassForBootstrapArgument()
933 return GetClassRoot(ClassRoot::kPrimitiveLong, class_roots); in GetClassForBootstrapArgument()
935 return GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots); in GetClassForBootstrapArgument()
937 return GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots); in GetClassForBootstrapArgument()
939 return GetClassRoot<mirror::MethodType>(class_roots); in GetClassForBootstrapArgument()
941 return GetClassRoot<mirror::MethodHandle>(class_roots); in GetClassForBootstrapArgument()
943 return GetClassRoot<mirror::String>(); in GetClassForBootstrapArgument()
945 return GetClassRoot<mirror::Class>(); in GetClassForBootstrapArgument()
1145 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod()
1147 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod()
[all …]
Dunstarted_runtime_test.cc402 ObjPtr<mirror::Class> klass = GetClassRoot<mirror::String>(); in TEST_F()
460 Handle<mirror::Class> object_class(hs_misc.NewHandle(GetClassRoot<mirror::Object>())); in TEST_F()
490 Handle<mirror::Class> object_class(hs_object.NewHandle(GetClassRoot<mirror::Object>())); in TEST_F()
545 GetClassRoot<mirror::String>(), in TEST_F()
559 hs_src.NewHandle(GetClassRoot<mirror::String>()); in TEST_F()
576 GetClassRoot<mirror::String>(), in TEST_F()
887 ObjPtr<mirror::Class> class_klass = GetClassRoot<mirror::Class>(); in TEST_F()
977 ObjPtr<mirror::Class> class_class = GetClassRoot<mirror::Class>(); in TEST_F()
1087 Handle<mirror::Class> h_class = hs.NewHandle(GetClassRoot<mirror::Class>()); in RunTest()
1318 Handle<mirror::Class> throw_class = hs.NewHandle(GetClassRoot<mirror::Throwable>()); in TEST_F()
[all …]
/art/runtime/gc/
Dreference_processor.cc55 DCHECK(reference_class == GetClassRoot<mirror::Reference>()); in GetSlowPathFlagOffset()
63 ObjPtr<mirror::Class> reference_class = GetClassRoot<mirror::Reference>(); in SetSlowPathFlag()
79 ObjPtr<mirror::Class> reference_class = GetClassRoot<mirror::Reference>(); in SlowPathEnabled()
Dheap_verification_test.cc43 GetClassRoot<mirror::ObjectArray<mirror::Object>>(), in AllocObjectArray()
/art/runtime/native/
Djava_lang_reflect_Method.cc70 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes()
Djava_lang_Class.cc90 ObjPtr<mirror::Class> lookup_class = GetClassRoot<mirror::MethodHandlesLookup>(); in GetReflectionCaller()
234 GetClassRoot<mirror::ObjectArray<mirror::Class>>(linker); in Class_getInterfacesInternal()
279 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields()
534 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Constructor>>(), constructor_count)); in Class_getDeclaredConstructorsInternal()
594 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked()
668 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Class_getDeclaredClasses()
696 if (GetClassRoot<mirror::Constructor>() == method->GetClass()) { in Class_getEnclosingConstructorNative()
712 if (GetClassRoot<mirror::Method>() == method->GetClass()) { in Class_getEnclosingMethodNative()
Djava_lang_reflect_Constructor.cc48 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Constructor_getExceptionTypes()
/art/compiler/optimizing/
Dintrinsic_objects.cc60 self, GetClassRoot<mirror::ObjectArray<mirror::Object>>(class_linker), live_objects_size); in AllocateBootImageLiveObjects()
/art/openjdkjvmti/
Dti_class_definition.cc168 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetDexDataForRetransformation()
231 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetQuickenedDexFile()

123