RFR: 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

Thanks for the reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/26839#issuecomment-3204687295


More information about the hotspot-gc-dev mailing list