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.h109 HeapReference<Object>* GetReferentReferenceAddr() REQUIRES_SHARED(Locks::mutator_lock_) { in GetReferentReferenceAddr()
114 HeapReference<Reference> pending_next_;
115 HeapReference<Object> queue_;
116 HeapReference<Reference> queue_next_;
117 HeapReference<Object> referent_; // Note this is Java volatile:
142 HeapReference<FinalizerReference> next_;
143 HeapReference<FinalizerReference> prev_;
144 HeapReference<Object> zombie_;
Dthrowable.h65 HeapReference<Object> backtrace_; // Note this is Java volatile:
66 HeapReference<Throwable> cause_;
67 HeapReference<String> detail_message_;
68 HeapReference<Object> stack_trace_;
69 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.h87 HeapReference<ObjectArray<DexCache>> obsolete_dex_caches_;
89 HeapReference<PointerArray> obsolete_methods_;
91 HeapReference<Object> original_dex_file_;
94 HeapReference<Object> verify_error_;
Dexecutable.h48 HeapReference<mirror::Class> declaring_class_;
49 HeapReference<mirror::Class> declaring_class_of_overridden_method_;
50 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.h79 HeapReference<Object> packages_;
80 HeapReference<ClassLoader> parent_;
81 HeapReference<Object> proxyCache_;
Dstack_trace_element.h67 HeapReference<String> declaring_class_;
68 HeapReference<String> file_name_;
69 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.h726 HeapReference<T>* objref_addr = reinterpret_cast<HeapReference<T>*>(raw_addr); in GetFieldObject()
766 HeapReference<Object>* objref_addr = reinterpret_cast<HeapReference<Object>*>(raw_addr); in SetFieldObjectWithoutWriteBarrier()
806 inline HeapReference<Object>* Object::GetFieldObjectReferenceAddr(MemberOffset field_offset) { in GetFieldObjectReferenceAddr()
810 return reinterpret_cast<HeapReference<Object>*>(reinterpret_cast<uint8_t*>(this) + in GetFieldObjectReferenceAddr()
846 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
847 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
888 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
889 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
918 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
919 HeapReference<Object> new_ref(HeapReference<Object>::FromObjPtr(new_value)); in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
[all …]
Dproxy.h31 HeapReference<Object> h_;
Dfield.h105 HeapReference<mirror::Class> declaring_class_;
106 HeapReference<mirror::Class> type_;
Dcall_site.h53 HeapReference<mirror::MethodHandle> target_;
Dmethod_handles_lookup.h70 HeapReference<mirror::Class> lookup_class_;
/art/runtime/
Dobject_callbacks.h25 template<class MirrorType> class HeapReference; variable
43 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj,
Dread_barrier.h35 template<typename MirrorType> class HeapReference; variable
54 mirror::Object* obj, MemberOffset offset, mirror::HeapReference<MirrorType>* ref_addr)
/art/runtime/gc/accounting/
Dmod_union_table.cc189 std::vector<mirror::HeapReference<mirror::Object>*>* references, in AddToReferenceArrayVisitor()
199 mirror::HeapReference<mirror::Object>* ref_ptr = obj->GetFieldObjectReferenceAddr(offset); in operator ()()
231 std::vector<mirror::HeapReference<mirror::Object>*>* const references_;
239 std::vector<mirror::HeapReference<mirror::Object>*>* references, in ModUnionReferenceVisitor()
260 std::vector<mirror::HeapReference<mirror::Object>*>* const references_;
332 void MarkHeapReference(mirror::HeapReference<mirror::Object>*, bool) OVERRIDE {} in MarkHeapReference()
344 for (mirror::HeapReference<mirror::Object>* ref : ref_pair.second) { in Verify()
356 for (mirror::HeapReference<mirror::Object>* obj_ptr : ref_pair.second) { in Verify()
380 for (mirror::HeapReference<mirror::Object>* ref : ref_pair.second) { in Dump()
414 std::vector<mirror::HeapReference<mirror::Object>*> cards_references; in UpdateAndMarkReferences()
[all …]
/art/runtime/gc/
Dreference_queue.cc136 mirror::HeapReference<mirror::Object>* referent_addr = ref->GetReferentReferenceAddr(); in ClearWhiteReferences()
158 mirror::HeapReference<mirror::Object>* referent_addr = ref->GetReferentReferenceAddr(); in EnqueueFinalizerReferences()
186 mirror::HeapReference<mirror::Object>* referent_addr = ref->GetReferentReferenceAddr(); in ForwardSoftReferences()
/art/runtime/gc/collector/
Dgarbage_collector.h117 virtual bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* obj,
125 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj,
Dmark_compact.h172 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr,
178 virtual bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* obj,
185 void UpdateHeapReference(mirror::HeapReference<mirror::Object>* reference)
Dsemi_space.h112 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr,
169 virtual bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* object,
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc225 ART_GET_FIELD_FROM_CODE(Obj, mirror::HeapReference<mirror::Object>, mirror::Object*,
306 mirror::HeapReference<mirror::Object>* ref_addr = in artReadBarrierSlow()
307 reinterpret_cast<mirror::HeapReference<mirror::Object>*>(raw_addr); in artReadBarrierSlow()

123