RFR: 8330846: Add stacks of mounted virtual threads to the HotSpot thread dump [v6]

Ron Pressler rpressler at openjdk.org
Mon Jun 3 13:11:05 UTC 2024


On Mon, 3 Jun 2024 11:26:27 GMT, Inigo Mediavilla Saiz <duke at openjdk.org> wrote:

>> Print the stack traces of mounted virtual threads when calling `jcmd <pid> Thread.print`.
>
> Inigo Mediavilla Saiz has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add indentation for virtual thread stack

About the output format:

1. The text Carrying virtual thread #N should appear, as it does, in the header of the output for the platform thread.
2. The stack for the mounted virtual thread should appear, indented *after* the stack of the platform thread, with the header `Mounted virtual thread #N`.

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

PR Comment: https://git.openjdk.org/jdk/pull/19482#issuecomment-2145162783


More information about the serviceability-dev mailing list