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

Stefan Karlsson stefank at openjdk.org
Wed Nov 26 08:34:57 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 stefank (Reviewer).

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

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


More information about the hotspot-gc-dev mailing list