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

Remove need to grab Threads_lock while processing handshakes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 14
    • hotspot
    • b02

      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.

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

              Created:
              Updated:
              Resolved: