...
JDI VirtualThreads.allThreads() (and JDWP VirtualMachine/AllThreads) enumerates all active platform threads, as beforevirtual threads are not enumerated.
Thread groups
Virtual threads are not active members of a thread group.
JDI ThreadGroupReference::threads (and JDWP ThreadGroupReference/Children) enumerate all active platform threads in the a group, as beforevirtual threads are not enumerated.
ThreadStart/ThreadEnd events
JDI ThreadStartEvent/ThreadDeathEvents are sent for all threads , as before, but it when enable. This may impact performance if there are a huge number of virtual threads.
JDWP EventRequest/Set defines a new PlatformThreadsOnly filter 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.
...