[jdk23u] RFR: 8333791: Fix memory barriers for @Stable fields

Aleksey Shipilev shade at openjdk.org
Wed Sep 25 08:35:30 UTC 2024


Improves performance around `@Stable` uses, notably `new String`, `Enum.hashCode` and others.

Additional testing:
 - [x] MacOS AArch64 server fastdebug, new IR tests pass
 - [ ] Linux x86_64 server fastdebug, `all`
 - [ ] Linux AArch64 server fastdebug, `all`

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

Commit messages:
 - Backport 74fdd6868d3f71d44ef9f71a0ca9506c04d39148

Changes: https://git.openjdk.org/jdk23u/pull/122/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk23u&pr=122&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8333791
  Stats: 1067 lines in 14 files changed: 1028 ins; 20 del; 19 mod
  Patch: https://git.openjdk.org/jdk23u/pull/122.diff
  Fetch: git fetch https://git.openjdk.org/jdk23u.git pull/122/head:pull/122

PR: https://git.openjdk.org/jdk23u/pull/122


More information about the jdk-updates-dev mailing list