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

synchronizing handshaking hash.

XMLWordPrintable

    • b38
    • generic
    • generic
    • Not verified

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: