reset method
void
reset()
Clears every window, issue and episode. It keeps the GC pause
baseline, because SleuthController.resetCaptureState calls this at
every capture leg start and the first GC of the leg still has a
measurable pause against the last one before it. It keeps the last
gc_pressure identity too, so a new leg's identities never repeat an
earlier one.
Implementation
void reset() {
_gcWindow.clear();
_heapSamples.clear();
_sampleSustainedStart = null;
_sustainedNativeGrowthStart = null;
_firstHeapSampleTime = null;
_lastTopAllocators = null;
_lastHeapGrowingEmittedAtMicros = null;
_budgetCrossingStart = null;
_floor.clear(notBeforeMs: _floorNotBeforeNow());
_endEpisode();
_issues.clear();
}