RFR: 8274299: Make Method/Constructor/Field accessors @Stable [v4]
Peter Levart
plevart at openjdk.java.net
Mon Oct 4 22:24:44 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 added Constructor benchmarks in latest commit. Here are the results:
https://jmh.morethan.io/?gists=f57a49ce833d5a53a01ce996570c11d2,de4a8a4b7ddc4bec1090d2113d9c50e6
I rest now, waiting for comments.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5694
More information about the core-libs-dev
mailing list