/art/runtime/mirror/ |
D | reference.h | 42 class MANAGED Reference : public Object { 49 return sizeof(Reference); in InstanceSize() 53 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); in PendingNextOffset() 56 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); in QueueOffset() 59 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); in QueueNextOffset() 62 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); in ReferentOffset() 80 Reference* GetPendingNext() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetPendingNext() 81 return GetFieldObject<Reference>(PendingNextOffset()); in GetPendingNext() 84 void SetPendingNext(Reference* pending_next) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetPendingNext() 112 HeapReference<Reference> pending_next_; // Note this is Java volatile: [all …]
|
D | reference.cc | 22 GcRoot<Class> Reference::java_lang_ref_Reference_; 24 void Reference::SetClass(Class* java_lang_ref_Reference) { in SetClass() 30 void Reference::ResetClass() { in ResetClass() 35 void Reference::VisitRoots(RootCallback* callback, void* arg) { in VisitRoots()
|
D | reference-inl.h | 25 inline uint32_t Reference::ClassSize() { in ClassSize() 30 inline bool Reference::IsEnqueuable() { in IsEnqueuable()
|
D | object.cc | 58 void operator()(mirror::Class* klass, mirror::Reference* ref) const in operator ()() 63 this->operator()(ref, mirror::Reference::ReferentOffset(), false); in operator ()()
|
D | object.h | 50 class Reference; variable 196 Reference* AsReference() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
D | object-inl.h | 256 inline Reference* Object::AsReference() { in AsReference() 258 return down_cast<Reference*>(this); in AsReference()
|
/art/runtime/gc/ |
D | reference_queue.cc | 31 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref) { in AtomicEnqueueIfNotEnqueued() 39 void ReferenceQueue::EnqueueReference(mirror::Reference* ref) { in EnqueueReference() 44 void ReferenceQueue::EnqueuePendingReference(mirror::Reference* ref) { in EnqueuePendingReference() 50 mirror::Reference* head = list_->GetPendingNext(); in EnqueuePendingReference() 64 mirror::Reference* ReferenceQueue::DequeuePendingReference() { in DequeuePendingReference() 66 mirror::Reference* head = list_->GetPendingNext(); in DequeuePendingReference() 68 mirror::Reference* ref; in DequeuePendingReference() 75 mirror::Reference* next = head->GetPendingNext(); in DequeuePendingReference() 92 mirror::Reference* cur = list_; in Dump() 95 mirror::Reference* pending_next = cur->GetPendingNext(); in Dump() [all …]
|
D | reference_queue.h | 35 class Reference; variable 51 void AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref) 56 void EnqueueReference(mirror::Reference* ref) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 57 void EnqueuePendingReference(mirror::Reference* ref) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 58 mirror::Reference* DequeuePendingReference() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 83 mirror::Reference* GetList() { in GetList() 96 mirror::Reference* list_;
|
D | reference_processor.h | 33 class Reference; variable 58 mirror::Object* GetReferent(Thread* self, mirror::Reference* reference) 61 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* ref,
|
D | reference_processor.cc | 43 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(true); in EnableSlowPath() 47 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(false); in DisableSlowPath() 51 mirror::Object* ReferenceProcessor::GetReferent(Thread* self, mirror::Reference* reference) { in GetReferent() 185 void ReferenceProcessor::DelayReferenceReferent(mirror::Class* klass, mirror::Reference* ref, in DelayReferenceReferent()
|
D | reference_processor-inl.h | 26 return mirror::Reference::GetJavaLangRefReference()->GetSlowPathEnabled(); in SlowPathEnabled()
|
/art/runtime/native/ |
D | java_lang_ref_Reference.cc | 28 mirror::Reference* const ref = soa.Decode<mirror::Reference*>(javaThis); in Reference_getReferent() 35 NATIVE_METHOD(Reference, getReferent, "!()Ljava/lang/Object;"),
|
/art/runtime/ |
D | object_callbacks.h | 34 class Reference; variable 44 typedef void (DelayReferenceReferentCallback)(mirror::Class* klass, mirror::Reference* ref, void* a…
|
D | class_linker_test.cc | 582 struct ReferenceOffsets : public CheckOffsets<mirror::Reference> { 583 ReferenceOffsets() : CheckOffsets<mirror::Reference>(false, "Ljava/lang/ref/Reference;") { in ReferenceOffsets() 584 … offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::Reference, pending_next_), "pendingNext")); in ReferenceOffsets() 585 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::Reference, queue_), "queue")); in ReferenceOffsets() 586 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::Reference, queue_next_), "queueNext")); in ReferenceOffsets() 587 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::Reference, referent_), "referent")); in ReferenceOffsets()
|
/art/patchoat/ |
D | patchoat.h | 37 class Reference; variable 134 void operator() (mirror::Class* cls, mirror::Reference* ref) const
|
D | patchoat.cc | 473 void PatchOat::PatchVisitor::operator() (mirror::Class* cls, mirror::Reference* ref) const { in operator ()() 474 MemberOffset off = mirror::Reference::ReferentOffset(); in operator ()()
|
/art/runtime/gc/collector/ |
D | mark_compact.cc | 307 void MarkCompact::DelayReferenceReferentCallback(mirror::Class* klass, mirror::Reference* ref, in DelayReferenceReferentCallback() 432 void operator()(mirror::Class* /*klass*/, mirror::Reference* ref) const in operator ()() 435 ref->GetFieldObjectReferenceAddr<kVerifyNone>(mirror::Reference::ReferentOffset())); in operator ()() 554 void MarkCompact::DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference) { in DelayReferenceReferent() 570 void operator()(mirror::Class* klass, mirror::Reference* ref) const in operator ()()
|
D | semi_space.h | 148 static void DelayReferenceReferentCallback(mirror::Class* klass, mirror::Reference* ref, 156 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference)
|
D | mark_compact.h | 133 static void DelayReferenceReferentCallback(mirror::Class* klass, mirror::Reference* ref, 138 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference)
|
D | mark_sweep.h | 38 class Reference; variable 211 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference)
|
D | semi_space.cc | 588 void SemiSpace::DelayReferenceReferentCallback(mirror::Class* klass, mirror::Reference* ref, in DelayReferenceReferentCallback() 663 void SemiSpace::DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference) { in DelayReferenceReferent() 679 void operator()(mirror::Class* klass, mirror::Reference* ref) const in operator ()()
|
D | mark_sweep.cc | 539 void operator()(mirror::Class* klass, mirror::Reference* ref) const in operator ()() 1127 void MarkSweep::DelayReferenceReferent(mirror::Class* klass, mirror::Reference* ref) { in DelayReferenceReferent()
|
/art/runtime/gc/accounting/ |
D | remembered_set.cc | 82 void operator()(mirror::Class* klass, mirror::Reference* ref) const in operator ()()
|
/art/compiler/ |
D | image_writer.cc | 1014 void operator()(mirror::Class* /*klass*/, mirror::Reference* ref) const in operator ()() 1018 mirror::Reference::ReferentOffset(), image_writer_->GetImageAddress(ref->GetReferent())); in operator ()() 1042 void operator()(mirror::Class* /*klass*/, mirror::Reference* ref) const in operator ()()
|
/art/compiler/dex/quick/ |
D | gen_invoke.cc | 1146 type_idx = mirror::Reference::GetJavaLangRefReference()->GetDexTypeIndex(); in GenInlinedReferenceGetReferent() 1147 ref_dex_file = mirror::Reference::GetJavaLangRefReference()->GetDexCache()->GetDexFile(); in GenInlinedReferenceGetReferent() 1186 mirror::Class* reference_class = mirror::Reference::GetJavaLangRefReference(); in GenInlinedReferenceGetReferent() 1220 LoadRefDisp(rl_obj.reg, mirror::Reference::ReferentOffset().Int32Value(), rl_result.reg, in GenInlinedReferenceGetReferent()
|