On Mon, 3 Jun 2024 08:31:46 GMT, Thomas Stuefe <stu...@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