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

Peter Levart plevart at openjdk.java.net
Mon Oct 4 06:39:29 UTC 2021


On Tue, 28 Sep 2021 22:41:23 GMT, Claes Redestad <redestad at openjdk.org> wrote:

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

Good catch. I'll add @stable to select Constructor fields. They are important for optimizing `Const` use cases. I'll also extend benchmarks to include Constructor accesses.

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

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


More information about the core-libs-dev mailing list