Re: 8330846: (jstack) Add stacks of mounted virtual threads

2024-06-04 Thread Alan Bateman
On 05/06/2024 07:45, Iñigo Mediavilla wrote: Thanks, Alan. Sorry, I wasn't clear in my message. I wasn't thinking about including unmounted threads in the output of `Thread.print`, I agree with you that besides the formatting things that still need to be fixed there's no need to add more change

Re: 8330846: (jstack) Add stacks of mounted virtual threads

2024-06-04 Thread Iñigo Mediavilla
Thanks, Alan. Sorry, I wasn't clear in my message. I wasn't thinking about including unmounted threads in the output of `Thread.print`, I agree with you that besides the formatting things that still need to be fixed there's no need to add more changes to the `Thread.print` command in the context of

Re: 8330846: (jstack) Add stacks of mounted virtual threads

2024-06-04 Thread Alan Bateman
On 04/06/2024 21:52, Iñigo Mediavilla wrote: Hello, While there's ongoing work on: https://github.com/openjdk/jdk/pull/19482 to add the stack trace of mounted virtual threads to the `jcmd Thread.print` command, I'm starting to think about how I could do to print the stack trace for virtual

Re: 8330846: (jstack) Add stacks of mounted virtual threads

2024-06-04 Thread Robert Engels
I looked through this, and I don’t think the there is anything needed other than this PR. Eventually jstack creates a VM_PrintThreads command which calls the threads.cpp code. > On Jun 4, 2024, at 3:52 PM, Iñigo Mediavilla wrote: > > Hello, > > While there's ongoing work on: > > https://gith

8330846: (jstack) Add stacks of mounted virtual threads

2024-06-04 Thread Iñigo Mediavilla
Hello, While there's ongoing work on: https://github.com/openjdk/jdk/pull/19482 to add the stack trace of mounted virtual threads to the `jcmd Thread.print` command, I'm starting to think about how I could do to print the stack trace for virtual threads from `jstack` but I'm not sure about what