/** * Dumps heap with a name with a human-readable timestamp to the Mesos sandbox, if environment variable * {@code MESOS_SANDBOX} is defined, or to the system temporary directory otherwise. * Logs where the heap dump will be written. * Logs a warning if there was a problem preventing the heap dump from being successfully created. */ public static void dumpHeap() { dumpHeap(getHeapDumpPath()); }