spring-framework / org.springframework.util / StopWatch / setKeepTaskList

setKeepTaskList

open fun setKeepTaskList(keepTaskList: Boolean): Unit

Determine whether the TaskInfo array is built over time. Set this to "false" when using a StopWatch for millions of intervals, or the task info structure will consume excessive memory. Default is "true".