RFR: 8275775: Add jcmd VM.classes to print details of all classes [v2]

Yi Yang yyang at openjdk.java.net
Wed Jan 19 02:45:26 UTC 2022


On Tue, 18 Jan 2022 19:43:12 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> It seems it would be useful to support the verbose output with just a single class that is specified, although that would suggest that the dcmd name should then be something other than `VM.classes`.

This is a good idea, but `jcmd VM.classes verbose=XX` looks strange, `jcmd VM.class XX` is also not much proper, because we desire to print all classes in default(`jcmd VM.class`). an alternative is to use `jcmd VM.classes verbose | grep XX` currently.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7105


More information about the serviceability-dev mailing list