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 ==.
Replacing them in HashMap and ConcurrentHashMap, as noted in JDK-8366043, it will allow easier experiments with performance of ==.
- causes
-
JDK-8373466 [world] javax.xml TransformerTest fails after change to HashMap.
-
- New
-
- is cloned by
-
JDK-8373361 Use of identity in HashMap and ConcurrentHashmap comparisons
-
- Open
-
- relates to
-
JDK-8366043 [lworld] (LIFE = Legacy Idiom For Equality) causes performance regressions
-
- Open
-
-
JDK-8371497 Simplify java.util.Object.equals - remove the identity comparison
-
- In Progress
-
- links to
-
Commit(lworld)
openjdk/valhalla/c8d4a247
-
Review(lworld)
openjdk/valhalla/1536
(1 links to)