On Thu, 24 Sep 2026 15:58:06 GMT, Chris Plummer <[email protected]> wrote:

>> When the `DoJVMTIVirtualThreadTransitions` is disabled then most of the 
>> virtual thread support can't work as needed, not only virtual thread related 
>> events. For instance, the functions `SuspendAllVirtualThreads` and 
>> `ResumeAllVirtualThreads` are not supported. So, this fix correctly disables 
>> the `can_support_virtual_threads` capability. The flag name 
>> `JVMTISupportVirtualThreadEvents` would not correctly serve its 
>> functionality.
>
>> The flag name `JVMTISupportVirtualThreadEvents` would not correctly serve 
>> its functionality.
> 
> In that case I would suggest JVMTISupportVirtualThreads.

Agreed. This is a better suggestion.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33001#discussion_r4106942495

Reply via email to