/art/runtime/ |
D | class_root.h | 118 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 …]
|
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 | 128 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/ |
D | method.cc | 31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod() 51 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
|
D | method_handle_impl.cc | 52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
|
D | stack_trace_element.cc | 36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
|
D | method_handles_lookup.cc | 38 GetClassRoot<MethodHandlesLookup>()->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-inl.h | 67 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
|
D | method_type_test.cc | 59 GetClassRoot<mirror::ObjectArray<mirror::Class>>(class_linker); in CreateMethodType()
|
D | class_ext.cc | 106 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
|
D | emulated_stack_frame.cc | 173 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs() 198 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
|
D | throwable.cc | 132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
|
D | array.cc | 126 GetClassRoot<PrimitiveArray<T>>(), in Alloc()
|
D | var_handle_test.cc | 49 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()
|
D | string-alloc-inl.h | 176 ObjPtr<Class> string_class = GetClassRoot<String>(runtime->GetClassLinker()); in Alloc()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 931 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 …]
|
D | unstarted_runtime_test.cc | 402 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/ |
D | reference_processor.cc | 55 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()
|
D | heap_verification_test.cc | 43 GetClassRoot<mirror::ObjectArray<mirror::Object>>(), in AllocObjectArray()
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 70 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes()
|
D | java_lang_Class.cc | 90 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()
|
D | java_lang_reflect_Constructor.cc | 48 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Constructor_getExceptionTypes()
|
/art/compiler/optimizing/ |
D | intrinsic_objects.cc | 60 self, GetClassRoot<mirror::ObjectArray<mirror::Object>>(class_linker), live_objects_size); in AllocateBootImageLiveObjects()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 168 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetDexDataForRetransformation() 231 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetQuickenedDexFile()
|