FieldInstanceReferenceReader

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

Expands instance fields that hold non null references.

Constructors

Link copied to clipboard
constructor(graph: HeapGraph, referenceMatchers: List<ReferenceMatcher>)

Functions

Link copied to clipboard
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.