Class HeapDumpWebEndpoint.HotSpotDiagnosticMXBeanHeapDumper

  • java.lang.Object
    • 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
        file - the file to dump the heap to
        live - if only live objects (i.e. objects that are reachable from others) should be dumped