RFR: 8370071: Clarify jcmd Thread.print help message

Alan Bateman alanb at openjdk.org
Fri Oct 17 09:34:07 UTC 2025


On Fri, 17 Oct 2025 08:50:45 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

> Simple tweak to jcmd Thread.print help message
> 
> jdk_svc test group ran and green

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

> 357:   static const char* name() { return "Thread.print"; }
> 358:   static const char* description() {
> 359:     return "Print all platform threads with stacktraces.";

The Thread.print section of the jcmd man page can be updated to align with the update description.

If there is space, then it include "all mounted virtual threads".

(Note that there was a previous attempt to change this description when the Thread.print was updated to include mounted virtual threads. At the time, the PR feedback was to separate it to a different PR but there wasn't any follow-up on that so good to see it re-visited here)

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

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


More information about the serviceability-dev mailing list