RFR: 8372376: ZGC: Inaccurate verification of raw nulls in flip promoting pages
Erik Österlund
eosterlund at openjdk.org
Tue Nov 25 17:41:41 UTC 2025
After [JDK-8371200](https://bugs.openjdk.org/browse/JDK-8371200), flip promoted objects in ZGC get their age changed to old, before raw null pointers are pruned with promotion barriers. This is surprising to verification code that checks in the old generation mark end GC pause that no objects that are old have any raw null pointers. This PR relaxes the verification check to better understand flip promotions from the young generation.
-------------
Commit messages:
- 8372376: ZGC: Inaccurate verification of raw nulls in flip promoting pages
Changes: https://git.openjdk.org/jdk/pull/28477/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28477&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8372376
Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/28477.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28477/head:pull/28477
PR: https://git.openjdk.org/jdk/pull/28477
More information about the hotspot-gc-dev
mailing list