On Sat, 24 May 2025 10:00:56 GMT, Shaojin Wen <s...@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. This pull request has now been integrated. Changeset: 727412d1 Author: Shaojin Wen <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/727412d1b5f0764363ebd2ff600d4b7f0c99bb9b Stats: 39 lines in 10 files changed: 15 ins; 0 del; 24 mod 8357690: Add @Stable and final to java.lang.CharacterDataLatin1 and other CharacterData classes Reviewed-by: naoto ------------- PR: https://git.openjdk.org/jdk/pull/25430