[jdk17u-dev] RFR: 8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter

Gui Cao gcao at openjdk.org
Fri Oct 11 01:07:50 UTC 2024


Hi, The same issue also exists in the jdk17u. I would like to backport 8341146 to jdk17u-dev. becasue jdk17u-dev not have [JDK-8301997](https://bugs.openjdk.org/browse/JDK-8301997), so this backport is not clean. This is a risc-v specific change, risk is low. 

### Testing on SOPHON SG2042 (release) 
- [x] JCstress
- [x] Run tier1 tests
- [x] ~5% improvement on SPECJbb2005 score (-Xint -XX:+UseParallelGC)

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

Commit messages:
 - Backport 8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter

Changes: https://git.openjdk.org/jdk17u-dev/pull/2958/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2958&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341146
  Stats: 5 lines in 2 files changed: 0 ins; 5 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2958.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2958/head:pull/2958

PR: https://git.openjdk.org/jdk17u-dev/pull/2958


More information about the jdk-updates-dev mailing list