[jdk22u] RFR: 8330242: RISC-V: Simplify and remove CORRECT_COMPILER_ATOMIC_SUPPORT in atomic_linux_riscv.hpp
Gui Cao
gcao at openjdk.org
Wed Apr 17 07:01:21 UTC 2024
This is a followup fix for JDK-8326936 which has been backported to jdk22u. I would like to also have this for jdk22u so that gcc `__atomic_compare_exchange` atomic operation could still be used for the upcoming gcc-13.3 release. This is a risc-v specific change. Backport is clean, risk is low.
### Testing
- [x] The affected jtreg test cases all pass with jdk release built with latest gcc-13 development branch.
-------------
Commit messages:
- Backport cd4c3aac63ddab3d3618df09787d6e9311454ff8
Changes: https://git.openjdk.org/jdk22u/pull/146/files
Webrev: https://webrevs.openjdk.org/?repo=jdk22u&pr=146&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8330242
Stats: 15 lines in 1 file changed: 0 ins; 11 del; 4 mod
Patch: https://git.openjdk.org/jdk22u/pull/146.diff
Fetch: git fetch https://git.openjdk.org/jdk22u.git pull/146/head:pull/146
PR: https://git.openjdk.org/jdk22u/pull/146
More information about the jdk-updates-dev
mailing list