org.springframework.boot.actuate.management

Class HeapDumpWebEndpoint.HotSpotDiagnosticMXBeanHeapDumper

  • java.lang.Object
    • org.springframework.boot.actuate.management.HeapDumpWebEndpoint.HotSpotDiagnosticMXBeanHeapDumper
    • Constructor Detail

      • HotSpotDiagnosticMXBeanHeapDumper

        protected HotSpotDiagnosticMXBeanHeapDumper()
    • Method Detail

      • dumpHeap

        public void dumpHeap(File file,
                             boolean live)
        Description copied from interface: HeapDumpWebEndpoint.HeapDumper
        Dump the current heap to the specified file.
        Specified by:
        dumpHeap in interface HeapDumpWebEndpoint.HeapDumper
        Parameters:
        file - the file to dump the heap to
        live - if only live objects (i.e. objects that are reachable from others) should be dumped