On Mon, 3 Jun 2024 08:30:15 GMT, Inigo Mediavilla Saiz <d...@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

Reply via email to