//leakcanary-repo/shark/ObjectGrowthDetector
ObjectGrowthDetector¶
[jvm]\ 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¶
ObjectGrowthDetector | [jvm] constructor(gcRootProvider: GcRootProvider, referenceReaderFactory: ReferenceReader.Factory<HeapObject>) |
Types¶
Name | Summary |
---|---|
Companion | [jvm] object Companion This allows external modules to add factory methods for configured instances of this class as extension functions of this companion object. |
Functions¶
Name | Summary |
---|---|
findGrowingObjects | [jvm] fun findGrowingObjects(heapGraph: HeapGraph, previousTraversal: HeapTraversalInput = InitialState()): HeapTraversalOutput |