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

synchronizing handshaking hash.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b38
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

                Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                xuelei Xue-Lei Fan
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: