...
ThreadStartEvent/ThreadDeathEvents can be sent for all virtual threads but it may impact performance.
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 so that the events for virtual threads so they are not sent to the front-end for virtual threads/debugger.
JDI ThreadStartRequest/ThreadDeathRequest define a new method controls method to control the filtering of 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).
...