RFR: 8377165: G1: Introduce common G1 GC Mark to collect scoped objects [v2]
Ivan Walulya
iwalulya at openjdk.org
Mon Feb 9 21:38:38 UTC 2026
On Fri, 6 Feb 2026 10:36:44 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
>
> Thomas Schatzl has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
>
> - Merge branch 'master' into 8377165-common-gc-mark
> - * fix whitespace
> - * fix copyright
> - 8377165
>
> 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.
>
> Testing: gha
>
> Thanks,
> Thomas
Still good!
-------------
Marked as reviewed by iwalulya (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29568#pullrequestreview-3771945974
More information about the hotspot-gc-dev
mailing list