Integrated: 8365780: G1: Remset for young regions are cleared too early during Full GC

Ivan Walulya iwalulya at openjdk.org
Wed Aug 20 07:54:44 UTC 2025


On Tue, 19 Aug 2025 09:24:06 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi,
> Please review this patch to move clearing of the young region remsets to later in the Full GC. G1HeapVerifier specifically G1FullCollector::verify_after_marking still assumes that the remsets for young regions are still valid and with status complete. Clearing these remsets too early triggers the verification failure.
> 
> Testing: - Tiers 1-3

This pull request has now been integrated.

Changeset: 9c338f6f
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9c338f6f87290e3ea3b43e6f7af8f073611b54d5
Stats:     7 lines in 2 files changed: 5 ins; 2 del; 0 mod

8365780: G1: Remset for young regions are cleared too early during Full GC

Reviewed-by: sjohanss, ayang

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

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


More information about the hotspot-gc-dev mailing list