repeating Jvm In Process Scenario
fun ObjectGrowthDetector.repeatingJvmInProcessScenario(maxHeapDumps: Int = RepeatingScenarioObjectGrowthDetector.DEFAULT_MAX_HEAP_DUMPS, scenarioLoopsPerDump: Int = 2): RepeatingScenarioObjectGrowthDetector
Creates a RepeatingScenarioObjectGrowthDetector suitable for JVM in process tests. Typically called on a ObjectGrowthDetector created via shark.forJvmHeap.
Dumps the heap by leveraging Hotspot APIs, running an in process GC right before dumping. Deletes the heap dump file as soon as we're done traversing it.
See also
Repeating Scenario Object Growth Detector. find Repeatedly Growing Objects