Home
last modified time | relevance | path

Searched refs:ReferenceQueue (Results 1 – 10 of 10) sorted by relevance

/art/runtime/gc/
Dreference_queue.cc31 ReferenceQueue::ReferenceQueue(Mutex* lock) : lock_(lock), list_(nullptr) { in ReferenceQueue() function in art::gc::ReferenceQueue
34 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { in AtomicEnqueueIfNotEnqueued()
42 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { in EnqueueReference()
59 ObjPtr<mirror::Reference> ReferenceQueue::DequeuePendingReference() { in DequeuePendingReference()
76 void ReferenceQueue::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) { in DisableReadBarrierForReference()
104 void ReferenceQueue::Dump(std::ostream& os) const { in Dump()
121 size_t ReferenceQueue::GetLength() const { in GetLength()
133 void ReferenceQueue::ClearWhiteReferences(ReferenceQueue* cleared_references, in ClearWhiteReferences()
155 void ReferenceQueue::EnqueueFinalizerReferences(ReferenceQueue* cleared_references, in EnqueueFinalizerReferences()
180 void ReferenceQueue::ForwardSoftReferences(MarkObjectVisitor* visitor) { in ForwardSoftReferences()
[all …]
Dreference_queue.h56 class ReferenceQueue {
58 explicit ReferenceQueue(Mutex* lock);
82 void EnqueueFinalizerReferences(ReferenceQueue* cleared_references,
94 void ClearWhiteReferences(ReferenceQueue* cleared_references,
123 DISALLOW_IMPLICIT_CONSTRUCTORS(ReferenceQueue);
Dreference_processor.h106 ReferenceQueue soft_reference_queue_;
107 ReferenceQueue weak_reference_queue_;
108 ReferenceQueue finalizer_reference_queue_;
109 ReferenceQueue phantom_reference_queue_;
110 ReferenceQueue cleared_references_;
Dreference_queue_test.cc36 ReferenceQueue queue(&lock); in TEST_F()
70 ReferenceQueue queue(&lock); in TEST_F()
Dheap.h1618 friend class ReferenceQueue; variable
/art/test/079-phantom/src/
DBitmap.java17 import java.lang.ref.ReferenceQueue;
29 private static ReferenceQueue<PhantomWrapper> sPhantomQueue =
30 new ReferenceQueue<PhantomWrapper>();
121 ReferenceQueue<PhantomWrapper> queue, int nativeDataPtr) in PhantomWrapper()
136 ReferenceQueue<PhantomWrapper> mQueue;
138 BitmapWatcher(ReferenceQueue<PhantomWrapper> queue) { in BitmapWatcher()
/art/test/004-NativeAllocations/src-art/
DMain.java18 import java.lang.ref.ReferenceQueue;
43 public static PhantomReference allocPhantom(ReferenceQueue<Object> queue) { in allocPhantom()
54 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in checkRegisterNativeAllocation()
/art/test/905-object-free/src/art/
DTest905.java20 import java.lang.ref.ReferenceQueue;
32 private final ReferenceQueue mQueue;
35 mQueue = new ReferenceQueue(); in GcMarker()
/art/runtime/mirror/
Dreference.h32 class ReferenceQueue; variable
113 friend class gc::ReferenceQueue;
/art/tools/ahat/src/test-dump/
DDumpedStuff.java18 import java.lang.ref.ReferenceQueue;
175 public ReferenceQueue<Object> referenceQueue = new ReferenceQueue<Object>();