RFR: 8276265: jcmd man page is outdated

Chris Plummer cjplummer at openjdk.java.net
Thu Nov 11 05:22:34 UTC 2021


On Fri, 5 Nov 2021 06:19:56 GMT, David Holmes <dholmes at openjdk.org> wrote:

> It was noticed that a number of updates to the jcmd subcommands (some new, some modified) had not been added to the manpage. The text was supplied by @tstuefe - thanks Thomas. I applied the changes to the closed markdown sources and regenerated the nroff file. For easier review I have generated a html version that can be viewed here:
> 
> https://htmlpreview.github.io/https://github.com/dholmes-ora/jdk/blob/57c00815460ffef201239eafac322b4dd246da1b/jcmd.html
> 
> Summary of changes:
> 
> New Commands:
> - Compiler.perfmap
> - System.trim_native_heap
> - VM.cds
> - VM.classloaders
> - VM.events
> - VM.metaspace
> 
> Missing flags:
> - GC.class_histogram -parallel
> - GC.heap_dump - gz and overwrite options
> - Thread.print -e
> 
> There are further improvements that could be made, some mentioned in the bug report. I also noticed a general confusion between arguments and options with some subcommands, but I did not try to address that.
> 
> Thanks,
> David

Marked as reviewed by cjplummer (Reviewer).

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

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


More information about the serviceability-dev mailing list