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

Gui Cao gcao at openjdk.org
Fri Mar 8 06:54:02 UTC 2024


On Thu, 7 Mar 2024 08:43:12 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, The same issue also exists in the JDK22U: I can reproduce it locally and use this clean patch can fix that issue, So I would like to backport this to JDK22U. Several related tests failed before this patch, including gc/shenandoah/TestSmallHeap.java, gc/metaspace/TestMetaspacePerfCounters.java#Shenandoah-64, etc. After the fix, it can passed normally. This is a risc-v specific change. Backport is clean, risk is low. 
> 
> I see that GHA linux-cross-compile / build (riscv64) fails, but I can build it successfully locally. GHA failure is infrastructural: https://bugs.openjdk.org/browse/JDK-8326960

This pull request has now been integrated.

Changeset: cffdef15
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk22u/commit/cffdef1568b564373d71b5fda3d01c0bdb05dbdb
Stats:     49 lines in 1 file changed: 49 ins; 0 del; 0 mod

8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations

Backport-of: a089ed2b9289eeda73bba47ac87e5bc81a4af9dc

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

PR: https://git.openjdk.org/jdk22u/pull/90


More information about the jdk-updates-dev mailing list