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

Sean Coffey coffeys at openjdk.org
Fri Oct 17 10:05:41 UTC 2025


On Fri, 17 Oct 2025 09:20:17 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Good idea, this could be clearer.
> 
> If you want to expand this: Elsewhere for ThreadDumpToFileDCmd we say: "Dump threads, with stack traces, to a file in plain text or JSON format." We could add on: "Includes virtual threads." or add in that fact somehow.
> 
> There's also a man page ./src/jdk.jcmd/share/man/jcmd.md where we have the same text for both commands. 8-)

Thanks for the man page reminder Kevin. I've added some extra help information also. I think it'll help guide users of these tools. PR updated.

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

PR Comment: https://git.openjdk.org/jdk/pull/27861#issuecomment-3414735179


More information about the serviceability-dev mailing list