Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/InitialState

InitialState

[jvm]\ class InitialState(val scenarioLoopsPerGraph: Int = DEFAULT_SCENARIO_LOOPS_PER_GRAPH) : HeapTraversalInput

Constructors

InitialState [jvm]
constructor(scenarioLoopsPerGraph: Int = DEFAULT_SCENARIO_LOOPS_PER_GRAPH)

Types

Name Summary
Companion [jvm]
object Companion

Properties

Name Summary
scenarioLoopsPerGraph [jvm]
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.
traversalCount [jvm]
open override val traversalCount: Int = 0