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

Remove need to grab Threads_lock while processing handshakes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 14
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: