RFR (S) 8226831 : Use Objects.equals() when appropriate
ivan.gerasimov at oracle.com
Tue Aug 27 18:21:07 UTC 2019
null-aware comparison of Objects is widely used, so it's tempting to use
Objects.equals for that.
Unfortunately, there are concerns w.r.t performance (see JDK-8015417),
so it seems to better avoid this kind of refactoring in the performance
Please find the webrev with a few places cleaned up (I had more, but
decided to limit this patch due to the concern mentioned above).
Thanks in advance!
With kind regards,
More information about the core-libs-dev