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

Sean Coffey coffeys at openjdk.org
Fri Oct 17 10:25:39 UTC 2025


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

> Saying "extended threads detail", or even "extended thread details" is a bit vague. It's not clear what Thread.print misses out, or if this will always be true. Could it be just: "Use Thread.dump_to_file for virtual thread information."

Yes - that's a fair point. The dump_to_file option also prints j.u.c Lock information for virtual theads. (hence extended)
Thread.print prints details of a virtual thread if it's mounted. 

but yes, "Use Thread.dump_to_file for virtual thread information." sounds better. Maybe even ""Use Thread.dump_to_file for all thread information." based on Alan's comment.

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

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


More information about the serviceability-dev mailing list