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

Ivan Walulya iwalulya at openjdk.org
Fri Feb 6 08:50:30 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

Marked as reviewed by iwalulya (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29568#pullrequestreview-3761605811


More information about the hotspot-gc-dev mailing list