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

Remove need to grab Threads_lock while processing handshakes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b02

      Description

      In terms of preventing the JavaThread being handshaked from exiting while the handshake is in progress, we already have that guarantee with SMR ThreadLists.
      There are comments implying the need of grabbing the Threads_lock is so that an externally suspended thread does not resume while in the middle of the handshake. But the transition back should catch the JavaThread since we already armed it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pchilanomate Patricio Chilano Mateo
              Reporter:
              pchilanomate Patricio Chilano Mateo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: