Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/FieldInstanceReferenceReader

FieldInstanceReferenceReader

[jvm]\ class FieldInstanceReferenceReader(graph: HeapGraph, referenceMatchers: List<ReferenceMatcher>) : ReferenceReader<HeapObject.HeapInstance>

Expands instance fields that hold non null references.

Constructors

FieldInstanceReferenceReader [jvm]
constructor(graph: HeapGraph, referenceMatchers: List<ReferenceMatcher>)

Functions

Name Summary
read [jvm]
open override fun read(source: HeapObject.HeapInstance): Sequence<Reference>
Returns the sequences of non null outgoing references from source. Outgoing refs can be actual JVM references or they can be virtual references when simplifying known data structures.