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

synchronizing handshaking hash.

    XMLWordPrintable

Details

    • b38
    • generic
    • generic
    • Not verified

    Backports

      Description

        Do you really need the double synchronization here (that is, the two
        synchronizedMap()s and the synchronized block in the constructor)? The
        only place you're using it is exclusively in the constructor or it's
        callers, so just the one lock should be sufficient. I think you can
        remove the SynchronizedMap. -- Bradford Wetmore

        Attachments

          Issue Links

            Activity

              People

                xuelei Xuelei Fan
                xuelei Xuelei Fan
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: