RFR: 8357690: Add @Stable and final to java.lang.CharacterDataLatin1 and other CharacterData classes
Per Minborg
pminborg at openjdk.org
Mon May 26 11:26:52 UTC 2025
On Sat, 24 May 2025 10:00:56 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> Classes such as java.lang.CharacterDataXXX have multiple static final arrays, these are immutable, We should add `@Stable` and final to provide information to the optimizer.
We could add '@Stable` to `static final char[][][] charMap` as well.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25430#issuecomment-2909388887
More information about the core-libs-dev
mailing list