On Thu, 6 Jul 2023 23:38:01 GMT, Stuart Marks <sma...@openjdk.org> wrote:
> For me the issue here is that there is a bunch of lore about avoiding > `Objects::equals` and it's embodied in comments like this: > > > NB: Do not replace with Object.equals until JDK-8015417 is resolved. > > These comments are almost exactly ten years old, and we can't seem to find > any evidence showing that a slowdown occurred if `Objects::equals` were used. > The comments are a "dead hand" at this point. Is there a way to demonstrate > whether there is or is not any difference when using `Objects::equals`? Agree on all of the above; this is "rumor control". ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14752#discussion_r1255067182