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

[lworld] Use Objects.equals in HashMap and ConcurrentHashmap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • core-libs
    • None

      The Legacy Idiom checking for reference equality before calling Object.equals should be replaced with calls to Objects.equals.
      Replacing them in HashMap and ConcurrentHashMap, as noted in JDK-8366043, it will allow easier experiments with performance of ==.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: