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

Stefan Johansson sjohanss at openjdk.org
Wed Nov 26 09:40:06 UTC 2025


On Mon, 24 Nov 2025 14:14:55 GMT, Erik Österlund <eosterlund 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).

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

PR Review: https://git.openjdk.org/jdk/pull/28477#pullrequestreview-3510031662


More information about the hotspot-gc-dev mailing list