Home | History | Annotate | Download | only in gc

Lines Matching refs:Reference

35 class Reference;
46 // Used to temporarily store java.lang.ref.Reference(s) during GC and prior to queueing on the
48 // circular, and singly-linked list using the pendingNext fields of the java.lang.ref.Reference
54 // Enqueue a reference if it is unprocessed. Thread safe to call from multiple
57 void AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref)
60 // Enqueue a reference. The reference must be unprocessed.
62 void EnqueueReference(mirror::Reference* ref) SHARED_REQUIRES(Locks::mutator_lock_);
64 // Dequeue a reference from the queue and return that dequeued reference.
65 mirror::Reference* DequeuePendingReference() SHARED_REQUIRES(Locks::mutator_lock_);
73 // Walks the reference list marking any references subject to the reference clearing policy.
79 // Unlink the reference list clearing references objects with white referents. Cleared references
80 // registered to a reference queue are scheduled for appending by the heap worker thread.
94 mirror::Reference* GetList() SHARED_REQUIRES(Locks::mutator_lock_) {
103 // Lock, used for parallel GC reference enqueuing. It allows for multiple threads simultaneously
106 // The actual reference list. Only a root for the mark compact GC since it will be null for other
108 mirror::Reference* list_;