JavaLocalReferenceReader

Constructors

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

Functions

Link copied to clipboard
open override fun matches(instance: HeapObject.HeapInstance): Boolean
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.

Properties

Link copied to clipboard
val graph: HeapGraph
Link copied to clipboard
open override val readsCutSet: Boolean = false

https://en.wikipedia.org/wiki/Cut_(graph_theory) A cut is a partition of the vertices of a graph into two disjoint subsets. Any cut determines a cut-set, the set of edges that have one endpoint in each subset of the partition. These edges are said to cross the cut.