RFR: 8295555: Primitive wrapper caches could be `@Stable`
Roger Riggs
rriggs at openjdk.org
Mon Jun 12 16:02:41 UTC 2023
On Mon, 12 Jun 2023 14:25:42 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes adding `@Stable` to certain wrapper classes' cache arrays (e.g. `Integer` and `Long`).
>
> Comments are welcome as to how to improve the VM's handling now that the backing cache array is `@Stable`. Are there simplifications to be made or are there other optimizations we might add?
Looks good
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14418#pullrequestreview-1475272046
More information about the core-libs-dev
mailing list