On Fri, 17 Oct 2025 10:12:12 GMT, Kevin Walls <[email protected]> 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

Reply via email to