On Tue, 28 Sep 2021 08:25:17 GMT, Peter Levart <plev...@openjdk.org> wrote:

>> This patch improves reflective access speed as shown by the included 
>> benchmarks:
>> 
>> https://jmh.morethan.io/?gists=902f4b43519c4f96c7abcd14cdc2d27d,ac490481e3001c710d75d6071c10b23a
>> 
>> ... and is also a prerequisite to make JEP 416 (Reimplement Core Reflection 
>> with Method Handle) perform better in some circumstances.
>
> Peter Levart has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Make Method/Constructor/Field instance fields initialized in the 
> constructors final

I'm fine with going back to the previous iteration. I'd add `@Stable` to the 
same fields in `Constructor`, too, though.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5694

Reply via email to