RFR: 8372376: ZGC: Inaccurate verification of raw nulls in flip promoting pages

Erik Österlund eosterlund at openjdk.org
Thu Nov 27 07:17:57 UTC 2025


On Wed, 26 Nov 2025 09:37:24 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

>> 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.
>
> Marked as reviewed by sjohanss (Reviewer).

Thanks for the reviews @kstefanj, @stefank and @xmas92!

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

PR Comment: https://git.openjdk.org/jdk/pull/28477#issuecomment-3584479145


More information about the hotspot-gc-dev mailing list