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

Peter Levart plevart at openjdk.java.net
Mon Oct 4 15:49:43 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5694/files
  - new: https://git.openjdk.java.net/jdk/pull/5694/files/0298253e..0d8ccc87

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5694&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5694&range=02-03

  Stats: 3 lines in 2 files changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5694.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5694/head:pull/5694

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


More information about the core-libs-dev mailing list