@SuppressWarnings("all")
    public static void jMap(final String outputFile, final boolean live) throws Exception {
        final File file = new File(outputFile);
        if (file.exists()) {
            file.delete();
        }
        MXBeanHolder.hotSpotDiagnosticMxBean.dumpHeap(outputFile, live);
    }
Dumps the heap to the outputFile file in the same format as the
hprof heap dump.
@param outputFile    the system-dependent filename
@param live          if true dump only live objects i.e. objects
                     that are reachable from others
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/util/JvmTools.java