How do I list all the virtual threads in a JVM? ThreadMXBean.dumpAllThreads()
, ThreadMXBean.getAllThreadIds()
, ThreadGroup.enumerate()
, and Thread.getAllStackTraces()
do not return virtual threads.
You need to sign in to view this answers
Leave feedback about this