//leakcanary-repo/leakcanary/ReferenceQueueRetainedObjectTracker/trackedWeakReferences
trackedWeakReferences¶
[jvm]\ val trackedWeakReferences: List<KeyedWeakReference>
List of KeyedWeakReference that have not been enqueued in the reference queue yet, which means their referent is most likely still strongly reachable.
DO NOT CALL java.lang.ref.Reference.get on the returned references, otherwise you will end up creating local references to the objects, preventing them from be becoming weakly reachable, and creating a leak. If you need to check for identity equality, use Reference.refersTo instead.