Clarify relationship between ThreadStart/ThreadEnd and can_support_virtual_threads capability

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 19
    • Affects Version/s: 19
    • Component/s: hotspot
    • b30

        The description of the ThreadStart/End events needs to re-visited to more clearly explain if these events are sent for virtual threads, the difference between these events and the VirtualThreadStart/End events, and the connection to the can_support_virtual_threads capability.

        The spec needs to make it clear that agents that enable ThreadStart and/or ThreadEnd, but do not enable the can_support_virtual_threads capability, will receive these events for virtual threads.

        On the other hand, if the can_support_virtual_threads capability is enabled, the events for virtual threads are VirutalThreadStart and VirutalThreadEnd so a "virtual thread aware" agent gets fine control on the the events and can use the same or a different callback for these events.




              Assignee:
              Alan Bateman
              Reporter:
              Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: