RFR: 8370071: Clarify jcmd Thread.print help message [v3]

Alan Bateman alanb at openjdk.org
Mon Oct 20 10:06:22 UTC 2025


On Fri, 17 Oct 2025 11:11:19 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

>> Simple tweak to jcmd Thread.print help message
>> 
>> jdk_svc test group ran and green
>
> Sean Coffey has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Further help message tweaks

src/hotspot/share/services/diagnosticCommand.hpp line 361:

> 359:     return "Print all platform threads, and mounted virtual threads, "
> 360:            "with stack traces. The Thread.dump_to_file command will "
> 361:            "print all threads to a file.";

I'm still in two minds about having it mention Thread.dump_to_file. If it is mentioned then it would be better to put in a line break and use "may be used to" that rather than "will".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27861#discussion_r2444514929


More information about the serviceability-dev mailing list