RFR: 8274299: Make Method/Constructor/Field accessors @Stable
mchung at openjdk.java.net
Mon Sep 27 17:04:58 UTC 2021
On Sat, 25 Sep 2021 10:15:11 GMT, Peter Levart <plevart at openjdk.org> wrote:
> This patch improves reflective access speed as shown by the included benchmarks:
> ... and is also a prerequisite to make JEP 416 (Reimplement Core Reflection with Method Handle) perform better in some circumstances.
Adding to Peter's description - separating this patch from JEP 416 will give some bake time on this change of the existing core reflection implementation. When JEP 416 is integrated, it will switch the new implementation and the changes in `*AccessorImpl` will not be exercised. In addition, this will make the backport easier if desirable.
More information about the core-libs-dev