RFR: 8274299: Make Method/Constructor/Field accessors @Stable [v4]

Rémi Forax forax at openjdk.java.net
Mon Oct 4 20:58:06 UTC 2021


On Mon, 4 Oct 2021 15:49:43 GMT, Peter Levart <plevart at 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:
> 
>   More @stable fields in Constructor/Field to align them with Method fields

I miss that, that very cool.

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

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


More information about the core-libs-dev mailing list