Versions Compared

Key

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

...

ThreadStart/ThreadEnd events

ThreadStartEvent/ThreadDeathEvents can be sent for all virtual threads but it impact performance.

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

JDI ThreadStartRequest/ThreadDeathRequest define a new method removeVirtualThreadFilter that can be used to remove method controls the filtering of thread start/end events for virtual threads . This may be changed so that (the current API requires JDI clients to opt-in to filter rather than remove the filter, this will be changed so that JDI opt-out to remove the filterby adding a filter).

Not Supported

The following are not currently supported for virtual threads:

...