/art/runtime/mirror/ |
D | reference.h | 44 class MANAGED Reference : public Object { 51 return sizeof(Reference); in InstanceSize() 55 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); in PendingNextOffset() 58 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); in QueueOffset() 61 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); in QueueNextOffset() 64 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); in ReferentOffset() 79 Reference* GetPendingNext() REQUIRES_SHARED(Locks::mutator_lock_) { in GetPendingNext() 80 return GetFieldObject<Reference, kDefaultVerifyFlags, kReadBarrierOption>(PendingNextOffset()); in GetPendingNext() 83 void SetPendingNext(ObjPtr<Reference> pending_next) REQUIRES_SHARED(Locks::mutator_lock_); 114 HeapReference<Reference> pending_next_; [all …]
|
D | reference-inl.h | 29 inline uint32_t Reference::ClassSize(PointerSize pointer_size) { in ClassSize() 35 inline void Reference::SetReferent(ObjPtr<Object> referent) { in SetReferent() 39 inline void Reference::SetPendingNext(ObjPtr<Reference> pending_next) { in SetPendingNext() 53 inline Class* Reference::GetJavaLangRefReference() { in GetJavaLangRefReference()
|
D | reference.cc | 25 GcRoot<Class> Reference::java_lang_ref_Reference_; 27 void Reference::SetClass(ObjPtr<Class> java_lang_ref_Reference) { in SetClass() 33 void Reference::ResetClass() { in ResetClass() 38 void Reference::VisitRoots(RootVisitor* visitor) { in VisitRoots()
|
/art/runtime/native/ |
D | java_lang_ref_Reference.cc | 33 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_getReferent() 41 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_clearReferent() 46 FAST_NATIVE_METHOD(Reference, getReferent, "()Ljava/lang/Object;"), 47 FAST_NATIVE_METHOD(Reference, clearReferent, "()V"),
|
D | java_lang_ref_FinalizerReference.cc | 39 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in FinalizerReference_getReferent()
|
/art/tools/ahat/src/test-dump/ |
D | DumpedStuff.java | 60 aLongStrongPathToSamplePathObject = new Reference(new Reference(new Reference(object))); in DumpedStuff() 61 aShortWeakPathToSamplePathObject = new WeakReference(new Reference(object)); in DumpedStuff() 119 public static class Reference { class in DumpedStuff 122 public Reference(Object referent) { in Reference() method in DumpedStuff.Reference 133 public Reference aReference = new Reference(anObject); 145 public Reference aLongStrongPathToSamplePathObject; 148 public SoftReference aWeakChain = new SoftReference(new Reference(new Reference(new Object())));
|
/art/runtime/gc/ |
D | reference_queue.h | 35 class Reference; variable 60 void AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) 65 void EnqueueReference(ObjPtr<mirror::Reference> ref) REQUIRES_SHARED(Locks::mutator_lock_); 69 ObjPtr<mirror::Reference> DequeuePendingReference() REQUIRES_SHARED(Locks::mutator_lock_); 74 void DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) 104 mirror::Reference* GetList() REQUIRES_SHARED(Locks::mutator_lock_) { in GetList() 118 mirror::Reference* list_;
|
D | reference_queue.cc | 33 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { in AtomicEnqueueIfNotEnqueued() 41 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { in EnqueueReference() 50 ObjPtr<mirror::Reference> head = list_->GetPendingNext<kWithoutReadBarrier>(); in EnqueueReference() 58 ObjPtr<mirror::Reference> ReferenceQueue::DequeuePendingReference() { in DequeuePendingReference() 60 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() 67 ObjPtr<mirror::Reference> next = ref->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() 75 void ReferenceQueue::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) { in DisableReadBarrierForReference() 104 ObjPtr<mirror::Reference> cur = list_; in Dump() 110 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); in Dump() 122 ObjPtr<mirror::Reference> cur = list_; in GetLength() [all …]
|
D | reference_processor.h | 34 class Reference; variable 62 ObjPtr<mirror::Object> GetReferent(Thread* self, ObjPtr<mirror::Reference> reference) 66 ObjPtr<mirror::Reference> ref, 76 void ClearReferent(ObjPtr<mirror::Reference> ref)
|
D | reference_processor-inl.h | 28 return mirror::Reference::GetJavaLangRefReference()->GetSlowPathEnabled(); in SlowPathEnabled()
|
D | reference_processor.cc | 51 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(true); in EnableSlowPath() 55 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(false); in DisableSlowPath() 65 ObjPtr<mirror::Reference> reference) { in GetReferent() 210 ObjPtr<mirror::Reference> ref, in DelayReferenceReferent() 293 void ReferenceProcessor::ClearReferent(ObjPtr<mirror::Reference> ref) { in ClearReferent()
|
D | reference_queue_test.cc | 53 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F() 54 std::set<mirror::Reference*> dequeued; in TEST_F()
|
/art/test/072-reachability-fence/src/ |
D | Main.java | 17 import java.lang.ref.Reference; 50 Reference.reachabilityFence(str0); in main() 51 Reference.reachabilityFence(str1); in main() 52 Reference.reachabilityFence(str2); in main() 53 Reference.reachabilityFence(str3); in main() 54 Reference.reachabilityFence(str4); in main()
|
/art/test/072-reachability-fence/ |
D | expected.txt | 2 Reference 0 was live. 3 Reference 3 was live. 4 Reference 4 was live.
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | SuperRoot.java | 47 Iterable<Reference> getReferences() { in getReferences() 48 return new AbstractList<Reference>() { in getReferences() 55 public Reference get(int index) { in getReferences() 57 return new Reference(SuperRoot.this, field, mRoots.get(index), true); in getReferences()
|
D | AhatClassInstance.java | 106 Iterable<Reference> getReferences() { in getReferences() 358 private class StrongReferenceIterator implements Iterable<Reference>, 359 Iterator<Reference> { 361 private Reference mNext = null; 369 mNext = new Reference(AhatClassInstance.this, "." + field.name, ref, true); in hasNext() 376 public Reference next() { in next() 380 Reference next = mNext; in next() 386 public Iterator<Reference> iterator() { in iterator() 395 private class WeakReferentReferenceIterator implements Iterable<Reference>, 396 Iterator<Reference> { [all …]
|
D | AhatClassObj.java | 122 Iterable<Reference> getReferences() { in getReferences() 123 List<Reference> refs = new AbstractList<Reference>() { in getReferences() 130 public Reference get(int index) { in getReferences() 134 return new Reference(AhatClassObj.this, "." + field.name, value.asAhatInstance(), true); in getReferences()
|
D | DominatorReferenceIterator.java | 28 private Iterator<Reference> mIter; 31 public DominatorReferenceIterator(Iterable<Reference> iter) { in DominatorReferenceIterator() 39 Reference ref = mIter.next(); in hasNext()
|
D | AhatInstance.java | 211 abstract Iterable<Reference> getReferences(); in getReferences() 610 Queue<Reference> strong = new ArrayDeque<Reference>(); in computeReverseReferences() 611 Queue<Reference> weak = new ArrayDeque<Reference>(); in computeReverseReferences() 613 for (Reference ref : root.getReferences()) { in computeReverseReferences() 618 Reference ref = strong.poll(); in computeReverseReferences() 627 for (Reference childRef : ref.ref.getReferences()) { in computeReverseReferences() 645 Reference ref = weak.poll(); in computeReverseReferences() 653 for (Reference childRef : ref.ref.getReferences()) { in computeReverseReferences()
|
D | Reference.java | 26 class Reference { class 32 public Reference(AhatInstance src, String field, AhatInstance ref, boolean strong) { in Reference() method in Reference
|
D | AhatPlaceHolderInstance.java | 72 Iterable<Reference> getReferences() { in getReferences() 73 List<Reference> refs = Collections.emptyList(); in getReferences()
|
D | AhatArrayInstance.java | 225 Iterable<Reference> getReferences() { in getReferences() 227 List<Reference> refs = Collections.emptyList(); in getReferences() 231 refs = new AbstractList<Reference>() { in getReferences() 238 public Reference get(int index) { in getReferences() 243 return new Reference(AhatArrayInstance.this, field, value.asAhatInstance(), true); in getReferences()
|
/art/test/153-reference-stress/ |
D | info.txt | 1 Tests java.lang.ref.Reference.get() and GC running in parallel.
|
/art/runtime/gc/collector/ |
D | garbage_collector.h | 39 class Reference; variable 129 ObjPtr<mirror::Reference> reference)
|
/art/test/912-classes/src-art/art/ |
D | Test912Art.java | 19 import java.lang.ref.Reference;
|