ObjectGrowthDetector

class ObjectGrowthDetector(gcRootProvider: GcRootProvider, referenceReaderFactory: ReferenceReader.Factory<HeapObject>)

Looks for objects that have grown in outgoing references in a new heap dump compared to a previous heap dump by diffing heap traversals.

Constructors

Link copied to clipboard
constructor(gcRootProvider: GcRootProvider, referenceReaderFactory: ReferenceReader.Factory<HeapObject>)

Types

Link copied to clipboard
object Companion

This allows external modules to add factory methods for configured instances of this class as extension functions of this companion object.

Functions

Link copied to clipboard
fun findGrowingObjects(heapGraph: HeapGraph, previousTraversal: HeapTraversalInput = InitialState()): HeapTraversalOutput