[jdk19] RFR: 8289439: Clarify relationship between ThreadStart/ThreadEnd and can_support_virtual_threads capability

Alan Bateman alanb at openjdk.org
Fri Jul 1 09:09:26 UTC 2022


On Thu, 30 Jun 2022 19:39:17 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> The description of the ThreadStart/End events in the JVM TI spec needs rewording to make it clearer when these events are sent for virtual threads and when VirtualThreadXXX events are sent instead.
>
> src/hotspot/share/prims/jvmti.xml line 12902:
> 
>> 12900:       <code>can_support_virtual_threads</code></internallink> is not enabled.
>> 12901:       This ensures that agents that enable this event, but without this
>> 12902:       capability, are notified when all threads start.
> 
> It feels like this sentence can be improved. But I can't suggest anything yet.

I did further word smithing and I hope the proposal text is clearer now.

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

PR: https://git.openjdk.org/jdk19/pull/94


More information about the serviceability-dev mailing list