Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The reporting is filtered to avoid the printing the same stack trace repeatedly.

Thread dumps

For now, traditional Traditional thread dumps do 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 Twith with a thread Executor (Executors.newVirtualThreadExector or Executors or Executors.newThreadExector). The thread dump is generated to a file in JSON format. The thread dump can be generated programmatically with ThreadMXBean or with the jcmd tool

...