HeapDiff

class HeapDiff(val traversalCount: Int, val shortestPathTree: ShortestPathObjectNode, val growingObjects: GrowingObjectNodes, previousTraversal: HeapTraversalInput) : HeapTraversalOutput

Constructors

Link copied to clipboard
constructor(traversalCount: Int, shortestPathTree: ShortestPathObjectNode, growingObjects: GrowingObjectNodes, previousTraversal: HeapTraversalInput)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

Nodes that already existed in the previous traversal, still exist in this shortestPathTree, and have grown compared to the previous traversal.

Link copied to clipboard
Link copied to clipboard
open override val scenarioLoopsPerGraph: Int

How many times a scenario that might cause heap growth is repeated in between each dump and traversal. This leads the traversal algorithm to only look at objects that are growing at least scenarioLoopsPerGraph times since the previous traversal.

Link copied to clipboard

A representation of the heap as a tree of shortest path from roots to each object in the heap, where:

Link copied to clipboard
open override val traversalCount: Int