Integrated: 8377165: G1: Introduce common G1 GC Mark to collect scoped objects

Thomas Schatzl tschatzl at openjdk.org
Mon Feb 9 21:38:43 UTC 2026


On Wed, 4 Feb 2026 13:34:24 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   this change factors out the initial scoped objects common to g1 young and full gc into `G1GCMark` to avoid duplication and ordering issues.
> 
> All other scoped objects (maybe but `G1HeapPrinterMark`) are specific to the separate collectors. Not sure it is worth commonalizing them.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: a7bf468a
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a7bf468a8fd86bf2845acef8aea1462f865c8182
Stats:     60 lines in 5 files changed: 21 ins; 29 del; 10 mod

8377165: G1: Introduce common G1 GC Mark to collect scoped objects

Reviewed-by: iwalulya, ayang

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

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


More information about the hotspot-gc-dev mailing list