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-8366043 [lworld] (LIFE = Legacy Idiom For Equality) causes performance regressions.
-
- Open
-
- links to
-
Commit(lworld) openjdk/valhalla/ba4e7678
-
Review(lworld) openjdk/valhalla/1551