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

David Holmes dholmes at openjdk.org
Mon Jun 3 08:37:04 UTC 2024


On Mon, 3 Jun 2024 08:31:46 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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?

Just what I was about to query :) I'm not sure what the const issue is. Printing a stack certainly should not modify anything.

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

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


More information about the serviceability-dev mailing list