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

Erik Österlund eosterlund at openjdk.org
Thu Nov 27 07:17:58 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.

This pull request has now been integrated.

Changeset: 7cd3d7f1
Author:    Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7cd3d7f157708ebb6ce972b46a1a90379f63d08f
Stats:     4 lines in 1 file changed: 3 ins; 0 del; 1 mod

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

Reviewed-by: stefank, sjohanss, aboldtch

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

PR: https://git.openjdk.org/jdk/pull/28477


More information about the hotspot-gc-dev mailing list