-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: core-libs
-
generic
-
generic
java.util.Objects.equals use of identity comparison has a negative performance implact with Valhalla. `==` aka `acmp` has high overhead.
For Valhalla, when --enable-preview is true, avoid acmp.
Additional performance comparisons may suggest better/alternative heuristics.
For Valhalla, when --enable-preview is true, avoid acmp.
Additional performance comparisons may suggest better/alternative heuristics.
- relates to
-
JDK-8373930 [lworld] Restore Objects.equals use of identity check
-
- Open
-
-
JDK-8371497 Simplify java.util.Object.equals - remove the identity comparison
-
- Open
-
-
JDK-8366043 [lworld] (LIFE = Legacy Idiom For Equality) causes performance regressions
-
- Open
-
- links to
-
Commit(lworld)
openjdk/valhalla/ba4e7678
-
Review(lworld)
openjdk/valhalla/1551