Monitoring virtual threads via thread dumps
Alan Bateman
Alan.Bateman at oracle.com
Wed Mar 29 08:12:39 UTC 2023
On 28/03/2023 21:44, Stig Rohde Døssing wrote:
> Forgot to include this in the first message: MXBean dumps don't
> contain the thread state (e.g. RUNNABLE or BLOCKED). Is this an
> intentional omission? It makes filtering the dump somewhat less easy
> than it was for jstack-like dumps.
It's just not there yet. In time, thread dumps with jcmd
Thread.dump_to_file or HotSpotDiagnosticMBean.threadDumps will have
thread state and monitor/lock information.
-Alan
More information about the loom-dev
mailing list