[jdk17u-dev] Integrated: 8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations

Gui Cao gcao at openjdk.org
Fri Apr 19 09:46:00 UTC 2024


On Thu, 18 Apr 2024 03:08:58 GMT, Gui Cao <gcao at openjdk.org> wrote:

> The same issue reproduces for 17u and 21u too if we apply fix for JDK- 8316186 and JDK-8316893 which are both code cleanup/enhancement. So I suggest we backport JDK-8326936 and its followup fix JDK-8330242 to be safe. 
> 
> ### Testing
> - [x] The affected jtreg test cases all pass with jdk release built with latest gcc-13 development branch.

This pull request has now been integrated.

Changeset: 30a9a217
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/30a9a2177bbafa1bed2e2fb4d491dd9d9c8df61c
Stats:     75 lines in 1 file changed: 38 ins; 33 del; 4 mod

8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations
8316186: RISC-V: Remove PlatformCmpxchg<4>
8330242: RISC-V: Simplify and remove CORRECT_COMPILER_ATOMIC_SUPPORT in atomic_linux_riscv.hpp

Reviewed-by: fyang
Backport-of: a089ed2b9289eeda73bba47ac87e5bc81a4af9dc

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

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


More information about the jdk-updates-dev mailing list