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

Albert Mingkun Yang ayang at openjdk.org
Thu Feb 5 09:58:40 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 ayang (Reviewer).

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

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


More information about the hotspot-gc-dev mailing list