Home
last modified time | relevance | path

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

/art/runtime/gc/
Dreference_queue.cc29 ReferenceQueue::ReferenceQueue(Mutex* lock) : lock_(lock), list_(nullptr) { in ReferenceQueue() function in art::gc::ReferenceQueue
32 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref) { in AtomicEnqueueIfNotEnqueued()
40 void ReferenceQueue::EnqueueReference(mirror::Reference* ref) { in EnqueueReference()
45 void ReferenceQueue::EnqueuePendingReference(mirror::Reference* ref) { in EnqueuePendingReference()
65 mirror::Reference* ReferenceQueue::DequeuePendingReference() { in DequeuePendingReference()
110 void ReferenceQueue::Dump(std::ostream& os) const { in Dump()
127 size_t ReferenceQueue::GetLength() const { in GetLength()
139 void ReferenceQueue::ClearWhiteReferences(ReferenceQueue* cleared_references, in ClearWhiteReferences()
159 void ReferenceQueue::EnqueueFinalizerReferences(ReferenceQueue* cleared_references, in EnqueueFinalizerReferences()
183 void ReferenceQueue::ForwardSoftReferences(IsHeapReferenceMarkedCallback* preserve_callback, in ForwardSoftReferences()
[all …]
Dreference_queue.h44 class ReferenceQueue {
46 explicit ReferenceQueue(Mutex* lock);
67 void EnqueueFinalizerReferences(ReferenceQueue* cleared_references,
80 void ClearWhiteReferences(ReferenceQueue* cleared_references,
109 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.cc32 ReferenceQueue queue(&lock); in TEST_F()
63 ReferenceQueue queue(&lock); in TEST_F()
Dheap.h1216 friend class ReferenceQueue; variable
/art/test/079-phantom/src/
DBitmap.java17 import java.lang.ref.ReferenceQueue;
28 private static ReferenceQueue<PhantomWrapper> sPhantomQueue =
29 new ReferenceQueue<PhantomWrapper>();
114 ReferenceQueue<PhantomWrapper> queue, int nativeDataPtr) in PhantomWrapper()
127 ReferenceQueue<PhantomWrapper> mQueue;
130 BitmapWatcher(ReferenceQueue<PhantomWrapper> queue) { in BitmapWatcher()
/art/runtime/mirror/
Dreference.h32 class ReferenceQueue; variable
121 friend class gc::ReferenceQueue;