RFR: 8343559: Optimize Class.getMethod(String, Class<?>...) for methods with no-arg [v2]
jengebr
duke at openjdk.org
Wed Nov 6 17:45:30 UTC 2024
On Wed, 6 Nov 2024 17:35:36 GMT, Chen Liang <liach at openjdk.org> wrote:
> Note that Arrays.equals is subject to profile pollution at runtime, so the benchmark results might not be applicable in practice.
Good point, thank you. Should I stick with `Arrays.equals()` on the basis that it's more intuitive, and the perf data is uncertain?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21929#discussion_r1831468108
More information about the core-libs-dev
mailing list