Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289439

Clarify relationship between ThreadStart/ThreadEnd and can_support_virtual_threads capability

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 19
    • 19
    • hotspot
    • b30

    Backports

      Description

        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.




        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: