/art/runtime/ |
D | obj_ptr-inl.h | 29 inline uintptr_t ObjPtr<MirrorType>::GetCurrentTrimedCookie() { in GetCurrentTrimedCookie() 38 inline bool ObjPtr<MirrorType>::IsValid() const { in IsValid() 46 inline void ObjPtr<MirrorType>::AssertValid() const { in AssertValid() 54 inline uintptr_t ObjPtr<MirrorType>::Encode(MirrorType* ptr) { in Encode() 69 inline ObjPtr<MirrorType>::ObjPtr(Type* ptr) in ObjPtr() function 76 inline ObjPtr<MirrorType>::ObjPtr(const ObjPtr<Type>& other) in ObjPtr() function 86 inline ObjPtr<MirrorType>& ObjPtr<MirrorType>::operator=(const ObjPtr<Type>& other) { 95 OBJPTR_INLINE ObjPtr<MirrorType>& ObjPtr<MirrorType>::operator=(MirrorType* ptr) { 101 inline void ObjPtr<MirrorType>::Assign(MirrorType* ptr) { in Assign() 106 inline MirrorType* ObjPtr<MirrorType>::operator->() const { [all …]
|
D | art_field.h | 43 ObjPtr<mirror::Class> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_); 45 ObjPtr<mirror::ClassLoader> GetClassLoader() REQUIRES_SHARED(Locks::mutator_lock_); 47 void SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) 112 uint8_t GetBoolean(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 115 void SetBoolean(ObjPtr<mirror::Object> object, uint8_t z) REQUIRES_SHARED(Locks::mutator_lock_); 117 int8_t GetByte(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 120 void SetByte(ObjPtr<mirror::Object> object, int8_t b) REQUIRES_SHARED(Locks::mutator_lock_); 122 uint16_t GetChar(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 125 void SetChar(ObjPtr<mirror::Object> object, uint16_t c) REQUIRES_SHARED(Locks::mutator_lock_); 127 int16_t GetShort(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
D | obj_ptr.h | 41 class ObjPtr { 51 OBJPTR_INLINE ObjPtr() REQUIRES_SHARED(Locks::mutator_lock_) : reference_(0u) {} in ObjPtr() function 57 OBJPTR_INLINE ObjPtr(std::nullptr_t) in ObjPtr() function 63 OBJPTR_INLINE ObjPtr(Type* ptr) REQUIRES_SHARED(Locks::mutator_lock_); 67 OBJPTR_INLINE ObjPtr(const ObjPtr<Type>& other) REQUIRES_SHARED(Locks::mutator_lock_); 71 OBJPTR_INLINE ObjPtr& operator=(const ObjPtr<Type>& other) REQUIRES_SHARED(Locks::mutator_lock_); 73 OBJPTR_INLINE ObjPtr& operator=(MirrorType* ptr) REQUIRES_SHARED(Locks::mutator_lock_); 102 static ObjPtr<MirrorType> DownCast(ObjPtr<SourceType> ptr) REQUIRES_SHARED(Locks::mutator_lock_); 106 static ObjPtr<MirrorType> DownCast(SourceType* ptr) REQUIRES_SHARED(Locks::mutator_lock_); 120 template <class T> friend class ObjPtr; // Required for reference_ access in copy cons/operator. variable [all …]
|
D | reflection.h | 36 ObjPtr<mirror::Object> BoxPrimitive(Primitive::Type src_class, const JValue& value) 39 bool UnboxPrimitiveForField(ObjPtr<mirror::Object> o, 40 ObjPtr<mirror::Class> dst_class, 45 bool UnboxPrimitiveForResult(ObjPtr<mirror::Object> o, 46 ObjPtr<mirror::Class> dst_class, 111 ObjPtr<mirror::Object> receiver, 115 ALWAYS_INLINE bool VerifyObjectIsClass(ObjPtr<mirror::Object> o, ObjPtr<mirror::Class> c) 119 ObjPtr<mirror::Object> obj, 120 ObjPtr<mirror::Class> declaring_class, 122 ObjPtr<mirror::Class>* calling_class, [all …]
|
D | class_linker-inl.h | 42 inline ObjPtr<mirror::Class> ClassLinker::FindArrayClass(Thread* self, in FindArrayClass() 43 ObjPtr<mirror::Class> element_class) { in FindArrayClass() 46 ObjPtr<mirror::Class> array_class = find_array_class_cache_[i].Read(); in FindArrayClass() 56 ObjPtr<mirror::Class> array_class = FindClass(self, descriptor.c_str(), class_loader); in FindArrayClass() 69 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString() 75 ObjPtr<mirror::String> resolved = in ResolveString() 83 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString() 89 ObjPtr<mirror::String> resolved = in ResolveString() 97 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString() 101 ObjPtr<mirror::String> resolved = dex_cache->GetResolvedString(string_idx); in ResolveString() [all …]
|
D | intern_table.h | 110 ObjPtr<mirror::String> InternStrong(int32_t utf16_length, const char* utf8_data) 116 ObjPtr<mirror::String> InternStrongImageString(ObjPtr<mirror::String> s) 123 ObjPtr<mirror::String> InternStrong(const char* utf8_data) REQUIRES_SHARED(Locks::mutator_lock_) 127 ObjPtr<mirror::String> InternStrong(ObjPtr<mirror::String> s) 132 ObjPtr<mirror::String> InternWeak(const char* utf8_data) REQUIRES_SHARED(Locks::mutator_lock_) 136 ObjPtr<mirror::String> InternWeak(ObjPtr<mirror::String> s) REQUIRES_SHARED(Locks::mutator_lock_) 142 bool ContainsWeak(ObjPtr<mirror::String> s) REQUIRES_SHARED(Locks::mutator_lock_) 146 ObjPtr<mirror::String> LookupStrong(Thread* self, ObjPtr<mirror::String> s) 149 ObjPtr<mirror::String> LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data) 152 ObjPtr<mirror::String> LookupStrongLocked(ObjPtr<mirror::String> s) [all …]
|
D | class_linker.h | 103 virtual bool operator()(ObjPtr<mirror::Class> klass) = 0; 110 bool operator()(ObjPtr<mirror::Class> klass) override REQUIRES_SHARED(Locks::mutator_lock_) { in operator() 121 virtual void Visit(ObjPtr<mirror::ClassLoader> class_loader) 129 void Visit(ObjPtr<mirror::ClassLoader> cl) override REQUIRES_SHARED(Locks::mutator_lock_) { in Visit() 190 ObjPtr<mirror::Class> FindClass(Thread* self, 198 ObjPtr<mirror::Class> FindSystemClass(Thread* self, const char* descriptor) in FindSystemClass() 205 ObjPtr<mirror::Class> FindArrayClass(Thread* self, ObjPtr<mirror::Class> element_class) 215 ObjPtr<mirror::Class> DefineClass(Thread* self, 226 ObjPtr<mirror::Class> LookupClass(Thread* self, 228 ObjPtr<mirror::ClassLoader> class_loader) [all …]
|
D | common_throws.h | 56 void ThrowArrayStoreException(ObjPtr<mirror::Class> element_class, 57 ObjPtr<mirror::Class> array_class) 70 void ThrowClassCircularityError(ObjPtr<mirror::Class> c) 73 void ThrowClassCircularityError(ObjPtr<mirror::Class> c, const char* fmt, ...) 78 void ThrowClassCastException(ObjPtr<mirror::Class> dest_type, ObjPtr<mirror::Class> src_type) 86 void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) 92 void ThrowIllegalAccessErrorClass(ObjPtr<mirror::Class> referrer, ObjPtr<mirror::Class> accessed) 95 void ThrowIllegalAccessErrorClassForMethodDispatch(ObjPtr<mirror::Class> referrer, 96 ObjPtr<mirror::Class> accessed, 101 void ThrowIllegalAccessErrorMethod(ObjPtr<mirror::Class> referrer, ArtMethod* accessed) [all …]
|
D | art_field-inl.h | 48 ObjPtr<mirror::Class> declaring_class(GetDeclaringClass()); in CanBeChangedBy() 49 ObjPtr<mirror::Class> referring_class(method->GetDeclaringClass()); in CanBeChangedBy() 55 inline ObjPtr<mirror::Class> ArtField::GetDeclaringClass() { in GetDeclaringClass() 57 ObjPtr<mirror::Class> result = declaring_class_.Read<kReadBarrierOption>(&gc_root_source); in GetDeclaringClass() 63 inline void ArtField::SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) { in SetDeclaringClass() 72 inline uint32_t ArtField::Get32(ObjPtr<mirror::Object> object) { in Get32() 82 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() 92 inline uint64_t ArtField::Get64(ObjPtr<mirror::Object> object) { in Get64() 102 inline void ArtField::Set64(ObjPtr<mirror::Object> object, uint64_t new_value) { in Set64() 113 inline ObjPtr<MirrorType> ArtField::GetObj(ObjPtr<mirror::Object> object) { in GetObj() [all …]
|
D | intern_table.cc | 69 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() 71 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() 92 ObjPtr<mirror::String> InternTable::LookupWeak(Thread* self, ObjPtr<mirror::String> s) { in LookupWeak() 97 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, ObjPtr<mirror::String> s) { in LookupStrong() 102 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, in LookupStrong() 113 ObjPtr<mirror::String> InternTable::LookupWeakLocked(ObjPtr<mirror::String> s) { in LookupWeakLocked() 117 ObjPtr<mirror::String> InternTable::LookupStrongLocked(ObjPtr<mirror::String> s) { in LookupStrongLocked() 127 ObjPtr<mirror::String> InternTable::InsertStrong(ObjPtr<mirror::String> s) { in InsertStrong() 139 ObjPtr<mirror::String> InternTable::InsertWeak(ObjPtr<mirror::String> s) { in InsertWeak() 148 void InternTable::RemoveStrong(ObjPtr<mirror::String> s) { in RemoveStrong() [all …]
|
D | class_table.h | 58 explicit TableSlot(ObjPtr<mirror::Class> klass); 60 TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash); 81 static uint32_t HashDescriptor(ObjPtr<mirror::Class> klass) 85 ObjPtr<mirror::Class> Read() const REQUIRES_SHARED(Locks::mutator_lock_); 93 static ObjPtr<mirror::Class> ExtractPtr(uint32_t data) 96 static uint32_t Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits) 142 bool Contains(ObjPtr<mirror::Class> klass) 153 size_t NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const 158 size_t NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const 173 ObjPtr<mirror::Class> UpdateClass(const char* descriptor, [all …]
|
/art/runtime/mirror/ |
D | method.cc | 29 ObjPtr<Method> Method::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod() 31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod() 38 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k32, false>( 40 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k32, true>( 42 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k64, false>( 44 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k64, true>( 48 ObjPtr<Constructor> Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod() 50 ObjPtr<Constructor> ret = in CreateFromArtMethod() 51 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod() 58 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k32, false>( [all …]
|
D | throwable.cc | 41 void Throwable::SetDetailMessage(ObjPtr<String> new_detail_message) { in SetDetailMessage() 50 void Throwable::SetCause(ObjPtr<Throwable> cause) { in SetCause() 53 ObjPtr<Throwable> current_cause = in SetCause() 63 void Throwable::SetStackState(ObjPtr<Object> state) REQUIRES_SHARED(Locks::mutator_lock_) { in SetStackState() 84 const ObjPtr<Object> stack_state = GetStackState(); in GetStackDepth() 88 const ObjPtr<mirror::ObjectArray<Object>> trace = stack_state->AsObjectArray<Object>(); in GetStackDepth() 98 ObjPtr<String> msg = GetDetailMessage(); in Dump() 103 ObjPtr<Object> stack_state = GetStackState(); in Dump() 106 ObjPtr<ObjectArray<Object>> object_array = stack_state->AsObjectArray<Object>(); in Dump() 110 ObjPtr<Object> methods_and_dex_pcs = object_array->Get(0); in Dump() [all …]
|
D | method_type.cc | 31 ObjPtr<ObjectArray<Class>> AllocatePTypesArray(Thread* self, int count) in AllocatePTypesArray() 33 ObjPtr<Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in AllocatePTypesArray() 39 ObjPtr<MethodType> MethodType::Create(Thread* const self, in Create() 44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->AllocObject(self)))); in Create() 58 ObjPtr<MethodType> MethodType::CloneWithoutLeadingParameter(Thread* const self, in CloneWithoutLeadingParameter() 59 ObjPtr<MethodType> method_type) { in CloneWithoutLeadingParameter() 74 ObjPtr<MethodType> MethodType::CollectTrailingArguments(Thread* self, in CollectTrailingArguments() 75 ObjPtr<MethodType> method_type, in CollectTrailingArguments() 76 ObjPtr<Class> collector_array_class, in CollectTrailingArguments() 99 const ObjPtr<ObjectArray<Class>> p_types = GetPTypes(); in NumberOfVRegs() [all …]
|
D | method_type.h | 33 static ObjPtr<MethodType> Create(Thread* const self, 38 static ObjPtr<MethodType> CloneWithoutLeadingParameter(Thread* const self, 39 ObjPtr<MethodType> method_type) 44 static ObjPtr<MethodType> CollectTrailingArguments(Thread* const self, 45 ObjPtr<MethodType> method_type, 46 ObjPtr<Class> collector_array_class, 50 ObjPtr<ObjectArray<Class>> GetPTypes() REQUIRES_SHARED(Locks::mutator_lock_); 58 ObjPtr<Class> GetRType() REQUIRES_SHARED(Locks::mutator_lock_); 62 bool IsExactMatch(ObjPtr<MethodType> target) REQUIRES_SHARED(Locks::mutator_lock_); 66 bool IsConvertible(ObjPtr<MethodType> target) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | iftable-inl.h | 29 inline ObjPtr<Class> IfTable::GetInterface(int32_t i) { in GetInterface() 30 ObjPtr<Class> interface = in GetInterface() 36 inline void IfTable::SetInterface(int32_t i, ObjPtr<Class> interface) { in SetInterface() 46 inline ObjPtr<PointerArray> IfTable::GetMethodArrayOrNull(int32_t i) { in GetMethodArrayOrNull() 47 return ObjPtr<PointerArray>::DownCast( in GetMethodArrayOrNull() 53 inline ObjPtr<PointerArray> IfTable::GetMethodArray(int32_t i) { in GetMethodArray() 54 ObjPtr<PointerArray> method_array = GetMethodArrayOrNull<kVerifyFlags, kReadBarrierOption>(i); in GetMethodArray() 62 ObjPtr<PointerArray> method_array = GetMethodArrayOrNull<kVerifyFlags, kReadBarrierOption>(i); in GetMethodArrayCount() 66 inline void IfTable::SetMethodArray(int32_t i, ObjPtr<PointerArray> arr) { in SetMethodArray()
|
D | stack_trace_element.h | 32 ObjPtr<String> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_); 34 ObjPtr<String> GetMethodName() REQUIRES_SHARED(Locks::mutator_lock_); 36 ObjPtr<String> GetFileName() REQUIRES_SHARED(Locks::mutator_lock_); 42 static ObjPtr<StackTraceElement> Alloc(Thread* self, 57 void Init(ObjPtr<String> declaring_class, 58 ObjPtr<String> method_name, 59 ObjPtr<String> file_name,
|
D | class_ext-inl.h | 41 ObjPtr<Object> existing( in EnsureJniIdsArrayPresent() 70 ObjPtr<Object> ret( in EnsureJniIdsArrayPresent() 95 inline ObjPtr<Object> ClassExt::GetInstanceJFieldIDs() { in GetInstanceJFieldIDs() 101 ObjPtr<Object> arr(GetInstanceJFieldIDs<kVerifyFlags, kReadBarrierOption>()); in HasInstanceFieldPointerIdMarker() 105 inline ObjPtr<PointerArray> ClassExt::GetInstanceJFieldIDsPointerArray() { in GetInstanceJFieldIDsPointerArray() 111 inline ObjPtr<Object> ClassExt::GetStaticJFieldIDs() { in GetStaticJFieldIDs() 116 inline ObjPtr<PointerArray> ClassExt::GetStaticJFieldIDsPointerArray() { in GetStaticJFieldIDsPointerArray() 122 ObjPtr<Object> arr(GetStaticJFieldIDs<kVerifyFlags, kReadBarrierOption>()); in HasStaticFieldPointerIdMarker() 127 inline ObjPtr<Class> ClassExt::GetObsoleteClass() { in GetObsoleteClass() 133 inline ObjPtr<Object> ClassExt::GetJMethodIDs() { in GetJMethodIDs() [all …]
|
D | method_handles_lookup.cc | 32 ObjPtr<MethodHandlesLookup> MethodHandlesLookup::Create(Thread* const self, in Create() 37 ObjPtr<MethodHandlesLookup> mhl = ObjPtr<MethodHandlesLookup>::DownCast( in Create() 44 ObjPtr<MethodHandlesLookup> MethodHandlesLookup::GetDefault(Thread* const self) { in GetDefault() 48 return ObjPtr<MethodHandlesLookup>::DownCast(result.GetL()); in GetDefault() 51 ObjPtr<MethodHandle> MethodHandlesLookup::FindConstructor(Thread* const self, in FindConstructor() 63 return ObjPtr<MethodHandle>::DownCast(result.GetL()); in FindConstructor()
|
D | class_ext.h | 43 void SetVerifyError(ObjPtr<Object> obj) REQUIRES_SHARED(Locks::mutator_lock_); 45 ObjPtr<Object> GetVerifyError() REQUIRES_SHARED(Locks::mutator_lock_); 47 ObjPtr<ObjectArray<DexCache>> GetObsoleteDexCaches() REQUIRES_SHARED(Locks::mutator_lock_); 56 ObjPtr<PointerArray> GetInstanceJFieldIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_); 59 ObjPtr<Object> GetInstanceJFieldIDs() REQUIRES_SHARED(Locks::mutator_lock_); 71 ObjPtr<PointerArray> GetStaticJFieldIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_); 74 ObjPtr<Object> GetStaticJFieldIDs() REQUIRES_SHARED(Locks::mutator_lock_); 86 ObjPtr<Object> GetJMethodIDs() REQUIRES_SHARED(Locks::mutator_lock_); 89 ObjPtr<PointerArray> GetJMethodIDsPointerArray() REQUIRES_SHARED(Locks::mutator_lock_); 96 ObjPtr<PointerArray> GetObsoleteMethods() REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
/art/compiler/optimizing/ |
D | intrinsic_objects.cc | 30 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::LookupIntegerCache( in LookupIntegerCache() 32 ObjPtr<mirror::Class> integer_cache_class = class_linker->LookupClass( in LookupIntegerCache() 40 ObjPtr<mirror::ObjectArray<mirror::Object>> integer_cache = in LookupIntegerCache() 41 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in LookupIntegerCache() 48 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) in HasIntrinsicObjects() 56 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::GetIntegerValueOfCache( in GetIntegerValueOfCache() 57 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) { in GetIntegerValueOfCache() 62 ObjPtr<mirror::Object> result = in GetIntegerValueOfCache() 68 return ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(result); in GetIntegerValueOfCache() 71 ObjPtr<mirror::Object> IntrinsicObjects::GetIntegerValueOfObject( in GetIntegerValueOfObject() [all …]
|
/art/runtime/native/ |
D | java_lang_System.cc | 42 ObjPtr<mirror::Object> array) in ThrowArrayStoreException_NotAnArray() 67 ObjPtr<mirror::Object> srcObject = soa.Decode<mirror::Object>(javaSrc); in System_arraycopy() 72 ObjPtr<mirror::Object> dstObject = soa.Decode<mirror::Object>(javaDst); in System_arraycopy() 77 ObjPtr<mirror::Array> srcArray = srcObject->AsArray(); in System_arraycopy() 78 ObjPtr<mirror::Array> dstArray = dstObject->AsArray(); in System_arraycopy() 91 ObjPtr<mirror::Class> dstComponentType = dstArray->GetClass()->GetComponentType(); in System_arraycopy() 92 ObjPtr<mirror::Class> srcComponentType = srcArray->GetClass()->GetComponentType(); in System_arraycopy() 105 ObjPtr<mirror::ByteArray>::DownCast(dstArray)->Memmove( in System_arraycopy() 106 dstPos, ObjPtr<mirror::ByteArray>::DownCast(srcArray), srcPos, count); in System_arraycopy() 112 ObjPtr<mirror::ShortArray>::DownCast(dstArray)->Memmove( in System_arraycopy() [all …]
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 35 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods() 49 ObjPtr<mirror::Array> decoded_array = soa.Decode<mirror::Array>(array); in Java_Main_cloneResolvedMethods() 55 ObjPtr<mirror::IntArray> int_array = ObjPtr<mirror::IntArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods() 59 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods() 70 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods() 74 ObjPtr<mirror::Array> old = soa.Decode<mirror::Array>(old_cache); in Java_Main_restoreResolvedMethods() 81 ObjPtr<mirror::IntArray> int_array = ObjPtr<mirror::IntArray>::DownCast(old); in Java_Main_restoreResolvedMethods() 85 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(old); in Java_Main_restoreResolvedMethods()
|
/art/runtime/gc/ |
D | reference_queue.cc | 34 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { in AtomicEnqueueIfNotEnqueued() 42 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { in EnqueueReference() 51 ObjPtr<mirror::Reference> head = list_->GetPendingNext<kWithoutReadBarrier>(); in EnqueueReference() 59 ObjPtr<mirror::Reference> ReferenceQueue::DequeuePendingReference() { in DequeuePendingReference() 61 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() 68 ObjPtr<mirror::Reference> next = ref->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() 76 void ReferenceQueue::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) { in DisableReadBarrierForReference() 93 ObjPtr<mirror::Object> referent = ref->GetReferent<kWithoutReadBarrier>(); in DisableReadBarrierForReference() 105 ObjPtr<mirror::Reference> cur = list_; in Dump() 111 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); in Dump() [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 38 ObjPtr<mirror::Object> GetAnnotationForField(ArtField* field, 41 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForField(ArtField* field) 43 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForField(ArtField* field) 49 ObjPtr<mirror::Object> GetAnnotationDefaultValue(ArtMethod* method) 51 ObjPtr<mirror::Object> GetAnnotationForMethod(ArtMethod* method, 54 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForMethod(ArtMethod* method) 56 ObjPtr<mirror::ObjectArray<mirror::Class>> GetExceptionTypesForMethod(ArtMethod* method) 58 ObjPtr<mirror::ObjectArray<mirror::Object>> GetParameterAnnotations(ArtMethod* method) 62 ObjPtr<mirror::Object> GetAnnotationForMethodParameter(ArtMethod* method, 70 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForMethod(ArtMethod* method) [all …]
|