jcmd - executing multiple commands at the same safepoint?

Thomas Stüfe thomas.stuefe at gmail.com
Thu May 10 05:52:51 UTC 2018

Hi all,

just asking around for opinions.

I am playing with the idea of bundling diagnostic commands to have
them executed at the same safepoint, in order to get results
consistent with each other.  E.g. a heapdump and a corresponding
metaspace statistic.

Syntax wise, I think one could specify multiple commands in jcmd
separated by comma or semicola:

jcmd <command> <option> <option>; <command 2> <option> <option>

What do you think, would that be a useful addition?

Thanks, Thomas

More information about the serviceability-dev mailing list