接口 HeapDumpWebEndpoint.HeapDumper
- 封闭类:
HeapDumpWebEndpoint
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Strategy interface used to dump the heap to a file.
-
方法概要
-
方法详细资料
-
dumpHeap
Dump the current heap to a file.- 参数:
live
- if only live objects (i.e. objects that are reachable from others) should be dumped. May benull
to use a JVM-specific default.- 返回:
- the file containing the heap dump
- 抛出:
IOException
- on IO errorInterruptedException
- on thread interruptionIllegalArgumentException
- if live is non-null and is not supported by the JVM- 从以下版本开始:
- 3.0.0
-