-
Sub-task
-
Resolution: Delivered
-
P4
-
21
Maintainers of JVM Tool Interface (JVM TI) agents should note that JVM TI now specifies that the `ThreadStart` and `ThreadEnd` events are not sent for virtual threads. This is different from when virtual threads were a preview feature in Java 19 and Java 20. When the feature was in preview, these events were sent for virtual threads even when the `can_support_virtual_threads` capability was not enabled. Agents that wish to be notified when virtual threads start or terminate need to add the `can_support_virtual_threads` capability and enable the `VirtualThreadStart` and `VirtualThreadEnd` events.