Home
last modified time | relevance | path

Searched refs:HeapReference (Results 1 – 25 of 62) sorted by relevance

123

/art/runtime/mirror/
Dobject_reference-inl.h33 HeapReference<MirrorType> HeapReference<MirrorType>::FromObjPtr(ObjPtr<MirrorType> ptr) { in FromObjPtr()
34 return HeapReference<MirrorType>(ptr.Ptr()); in FromObjPtr()
38 bool HeapReference<MirrorType>::CasWeakRelaxed(MirrorType* expected_ptr, MirrorType* new_ptr) { in CasWeakRelaxed()
39 HeapReference<Object> expected_ref(HeapReference<Object>::FromMirrorPtr(expected_ptr)); in CasWeakRelaxed()
40 HeapReference<Object> new_ref(HeapReference<Object>::FromMirrorPtr(new_ptr)); in CasWeakRelaxed()
Dreference.h113 HeapReference<Object>* GetReferentReferenceAddr() REQUIRES_SHARED(Locks::mutator_lock_) { in GetReferentReferenceAddr()
118 HeapReference<Reference> pending_next_;
119 HeapReference<Object> queue_;
120 HeapReference<Reference> queue_next_;
121 HeapReference<Object> referent_; // Note this is Java volatile:
146 HeapReference<FinalizerReference> next_;
147 HeapReference<FinalizerReference> prev_;
148 HeapReference<Object> zombie_;
Dthrowable.h70 HeapReference<Object> backtrace_; // Note this is Java volatile:
71 HeapReference<Throwable> cause_;
72 HeapReference<String> detail_message_;
73 HeapReference<Object> stack_trace_;
74 HeapReference<Object> suppressed_exceptions_;
Dobject_reference.h87 class MANAGED HeapReference : public ObjectReference<kPoisonHeapReferences, MirrorType> {
89 static HeapReference<MirrorType> FromMirrorPtr(MirrorType* mirror_ptr) in FromMirrorPtr()
91 return HeapReference<MirrorType>(mirror_ptr); in FromMirrorPtr()
94 static HeapReference<MirrorType> FromObjPtr(ObjPtr<MirrorType> ptr)
101 explicit HeapReference(MirrorType* mirror_ptr) REQUIRES_SHARED(Locks::mutator_lock_) in HeapReference() function
105 static_assert(sizeof(mirror::HeapReference<mirror::Object>) == kHeapReferenceSize,
Dmethod_type.h92 HeapReference<mirror::Object> form_; // Unused in the runtime
93 HeapReference<mirror::String> method_descriptor_; // Unused in the runtime
94 HeapReference<ObjectArray<mirror::Class>> p_types_;
95 HeapReference<mirror::Class> r_type_;
96 HeapReference<mirror::Object> wrap_alt_; // Unused in the runtime
Dclass_ext.h88 HeapReference<ObjectArray<DexCache>> obsolete_dex_caches_;
90 HeapReference<PointerArray> obsolete_methods_;
92 HeapReference<Object> original_dex_file_;
95 HeapReference<Object> verify_error_;
Dexecutable.h49 HeapReference<mirror::Class> declaring_class_;
50 HeapReference<mirror::Class> declaring_class_of_overridden_method_;
51 HeapReference<mirror::Array> parameters_;
Dobject-readbarrier-inl.h214 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongRelaxedObjectWithoutWriteBarrier()
215 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldStrongRelaxedObjectWithoutWriteBarrier()
244 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongReleaseObjectWithoutWriteBarrier()
245 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldStrongReleaseObjectWithoutWriteBarrier()
Demulated_stack_frame.h104 HeapReference<mirror::MethodType> callsite_type_;
105 HeapReference<mirror::ObjectArray<mirror::Object>> references_;
106 HeapReference<mirror::ByteArray> stack_frame_;
107 HeapReference<mirror::MethodType> type_;
Dclass_loader.h75 HeapReference<Object> packages_;
76 HeapReference<ClassLoader> parent_;
77 HeapReference<Object> proxyCache_;
Dstack_trace_element.h68 HeapReference<String> declaring_class_;
69 HeapReference<String> file_name_;
70 HeapReference<String> method_name_;
Dmethod_handle_impl.h91 HeapReference<mirror::MethodHandle> cached_spread_invoker_;
92 HeapReference<mirror::MethodType> nominal_type_;
93 HeapReference<mirror::MethodType> method_type_;
138 HeapReference<mirror::Object> info_; // Unused by the runtime.
Dobject-inl.h709 HeapReference<T>* objref_addr = reinterpret_cast<HeapReference<T>*>(raw_addr); in GetFieldObject()
749 HeapReference<Object>* objref_addr = reinterpret_cast<HeapReference<Object>*>(raw_addr); in SetFieldObjectWithoutWriteBarrier()
780 inline HeapReference<Object>* Object::GetFieldObjectReferenceAddr(MemberOffset field_offset) { in GetFieldObjectReferenceAddr()
784 return reinterpret_cast<HeapReference<Object>*>(reinterpret_cast<uint8_t*>(this) + in GetFieldObjectReferenceAddr()
820 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
821 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
862 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
863 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
892 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
893 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
[all …]
Dproxy.h31 HeapReference<Object> h_;
Dfield.h106 HeapReference<mirror::Class> declaring_class_;
107 HeapReference<mirror::Class> type_;
Dcall_site.h53 HeapReference<mirror::MethodHandle> target_;
Dmethod_handles_lookup.h57 HeapReference<mirror::Class> lookup_class_;
/art/runtime/
Dobject_callbacks.h25 template<class MirrorType> class HeapReference; variable
46 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj,
Dread_barrier.h34 template<typename MirrorType> class HeapReference; variable
50 mirror::Object* obj, MemberOffset offset, mirror::HeapReference<MirrorType>* ref_addr)
/art/runtime/gc/accounting/
Dmod_union_table.cc188 std::vector<mirror::HeapReference<mirror::Object>*>* references, in AddToReferenceArrayVisitor()
198 mirror::HeapReference<mirror::Object>* ref_ptr = obj->GetFieldObjectReferenceAddr(offset); in operator ()()
230 std::vector<mirror::HeapReference<mirror::Object>*>* const references_;
238 std::vector<mirror::HeapReference<mirror::Object>*>* references, in ModUnionReferenceVisitor()
259 std::vector<mirror::HeapReference<mirror::Object>*>* const references_;
331 void MarkHeapReference(mirror::HeapReference<mirror::Object>*, bool) OVERRIDE {} in MarkHeapReference()
343 for (mirror::HeapReference<mirror::Object>* ref : ref_pair.second) { in Verify()
355 for (mirror::HeapReference<mirror::Object>* obj_ptr : ref_pair.second) { in Verify()
379 for (mirror::HeapReference<mirror::Object>* ref : ref_pair.second) { in Dump()
413 std::vector<mirror::HeapReference<mirror::Object>*> cards_references; in UpdateAndMarkReferences()
[all …]
/art/runtime/gc/
Dreference_queue.cc135 mirror::HeapReference<mirror::Object>* referent_addr = ref->GetReferentReferenceAddr(); in ClearWhiteReferences()
157 mirror::HeapReference<mirror::Object>* referent_addr = ref->GetReferentReferenceAddr(); in EnqueueFinalizerReferences()
185 mirror::HeapReference<mirror::Object>* referent_addr = ref->GetReferentReferenceAddr(); in ForwardSoftReferences()
/art/runtime/gc/collector/
Dmark_compact.h173 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr,
179 virtual bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* obj,
186 void UpdateHeapReference(mirror::HeapReference<mirror::Object>* reference)
Dgarbage_collector.h194 virtual bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* obj,
202 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj,
Dsemi_space.h113 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr,
170 virtual bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* object,
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc224 ART_GET_FIELD_FROM_CODE(Obj, mirror::HeapReference<mirror::Object>, mirror::Object*,
305 mirror::HeapReference<mirror::Object>* ref_addr = in artReadBarrierSlow()
306 reinterpret_cast<mirror::HeapReference<mirror::Object>*>(raw_addr); in artReadBarrierSlow()

123