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

CarrierThread.blocking not reset when spare not activated

    XMLWordPrintable

Details

    • b15
    • Verified

    Backports

      Description

        If a blocking operation such as Object.wait pins a virtual thread to its carrier thread, and if that operation doesn't activate a spare, then subsequent blocking operations that pin a virtual thread to this carrier thread do not attempt to activate a spare. In other words, if Blocker.begin returns 0 with the carrier thread's blocking flag set then Blocker.end will not reset the blocking flag.


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: