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

Gui Cao gcao at openjdk.org
Fri Apr 19 09:52:59 UTC 2024


On Thu, 18 Apr 2024 02:57:20 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: f0f2e70f
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/f0f2e70f84ee4ddb2e2af97d68713c8952b7928f
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/jdk21u-dev/pull/507


More information about the jdk-updates-dev mailing list