Versions Compared

Key

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

...

ThreadStartEvent/ThreadDeathEvents can be sent for all virtual threads, as before, but it may impact performance if there are a huge number of virtual threads.

JDWP EventRequest/Set defines a new modifier VirtualThreadsExclude that can be used when requesting THREAD_START and THREAD_END events. This allows these events to be filtered for virtual threads so they are not sent to the front-end/debugger.

JDI ThreadStartRequest/ThreadDeathRequest define a new method to control the filtering of whether thread start/end events for virtual threads (the current API requires JDI clients to opt-in to remove the filter, this will be changed so that JDI opt-out by adding a filter)are filtered or not.

Not Supported

The following are not currently supported for virtual threads:

...