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

Thomas Stuefe stuefe at openjdk.org
Mon Jun 3 08:37:03 UTC 2024


On Mon, 3 Jun 2024 08:30:15 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 missing header

I also find the duplication of the stack printing code unfortunate. It would be nice to reuse`JavaThread::print_vthread_stack_on`. I don't understand why it cannot be const?

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

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


More information about the hotspot-runtime-dev mailing list