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

Inigo Mediavilla Saiz duke at openjdk.org
Thu Jun 13 19:16:21 UTC 2024


On Wed, 12 Jun 2024 08:45:46 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:
> 
>   Remove unneeded line

In that case the one that would transition would be the "dummy vthread" or the "main virtual thread" ? 

Based on the explanation it sounds like the main virtual thread is the one having to be scheduled and that may go through transitions but in the JBS description I understood that the one that could be subject to transitions after the countdown call was the dummy vthread.

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

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


More information about the serviceability-dev mailing list