RFR: 8343782: G1: Use one G1CardSet instance for multiple old gen regions [v12]

cxzl25 duke at openjdk.org
Wed Feb 11 12:53:11 UTC 2026


On Tue, 10 Feb 2026 09:10:32 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

>> Looks that this causes intermittent data corruption when using zstd-jni. Reported in https://github.com/luben/zstd-jni/issues/377
>
> @luben, could you please file an issue at https://bugreport.java.com/  or send an email to hotspot-gc-dev at openjdk.org  so we can follow up on this outside of the current PR? When filing, please include any relevant hs_err logs or logs with verification enabled to help with diagnosing the issue. Additionally, could you test with JDK 26 to confirm whether the issue persists in later versions?

@walulyai Following your advice, I began to attempt validation testing on JDK 26, and ultimately found that this bug was resolved by the ticket JDK-8370807. However, it has not been backported to JDK 25, and its type is Enhancement.

Do I still need to send an email to report this issue?

---
8370807: G1: Improve region attribute table method naming
https://bugs.openjdk.org/browse/JDK-8370807
Fix Version/s: 26
Resolved In Build:b22
https://github.com/openjdk/jdk/pull/28038

---
I suspect that `r->has_pinned_objects()` is the key fix.

<img width="1557" height="357" alt="Image" src="https://github.com/user-attachments/assets/53f7afaf-7c3a-4b40-b537-75b278daed12" />

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

PR Comment: https://git.openjdk.org/jdk/pull/22015#issuecomment-3884190970


More information about the hotspot-gc-dev mailing list