Introduced the heapdump command-line tool that dumps a heap snapshot to a given file.

usage: heapdump
-f,--file <arg> The name of the file in which to dump the heap snapshot; e.g. /tmp/heap.bin
-h,--help Prints a help text
-l,--login <arg> The optional JMX login (if JMX authentication is enabled)
-p,--port <arg> The optional JMX port (default:9999)
-s,--password <arg> The optional JMX password (if JMX authentication is enabled)