RFR: 8337276: jcmd man page update for PID in output filenames

Sonia Zaldana Calles szaldana at openjdk.org
Thu Aug 8 16:47:43 UTC 2024


On Wed, 31 Jul 2024 08:30:47 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Man page update for jcmd.
> 
> Add updates for the filename options/arguments affected by:
> 8334492: DiagnosticCommands (jcmd) should accept %p in output filenames and substitute PID
> 
> Also:
> In the initial "command" summary, remove the text about "If the pid is 0.." as it is completely duplicated very shortly afterwards in the COMMANDS FOR JCMD section.
> 
> In Description:
> Each diagnostic command has its own set of options and arguments .
>  
> Added "options and" because arguments and options are different and this can still be confusing.  Mentioning them as being different may help.
> 
> Similarly, added a short section describing that jcmds "may take options and arguments" and further spelling out that options are name=value and arguments are not, as this can still be confusing.

I am not a Reviewer, but this looks consistent with #20198.

I think the clarification between options and arguments is a great addition to avoid further issues like [8336853](https://bugs.openjdk.org/browse/JDK-8336853).

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

PR Comment: https://git.openjdk.org/jdk/pull/20401#issuecomment-2276248989


More information about the serviceability-dev mailing list