RFR: 8330846: Add stacks of mounted virtual threads to the HotSpot thread dump [v6]
Alan Bateman
alanb at openjdk.org
Mon Jun 3 13:17:02 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
I don't think showing the frames of the mounted virtual thread before the carrier thread frames is the best way to show this. For one thing, it appears immediately after the carrier's thread name/details and state. So I think Ron's suggestion to clearly label it as the mounted virtual thread after the carrier stack trace would be good to try.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19482#issuecomment-2145174545
More information about the serviceability-dev
mailing list