...
The reporting is filtered to avoid the printing the same stack trace repeatedly.
Thread dumps
TThe traditional thread dumps dump (Ctrl-\, jstack, jcmd Thread.print) do does not include virtual threads. If the thread dump is taken when a virtual thread is mounted then its stack will be shown in the stack trace of its carrier thread. No information about unmounted virtual threads will be included.
The current prototype has an alternative thread dump that includes all platform threads plus all virtual threads started with a thread Executor (Executors.newVirtualThreadExector or Executors.newThreadExector). The thread dump is generated in plain text or JSON format. The thread dump can be generated programmatically with com.sun.management.ThreadMXBean. The jcmd tool can be used to generate the thread dump, optionally to a file:
...