RFR: 8377150: G1: Full GC should not execute barrier code during reference processing
Thomas Schatzl
tschatzl at openjdk.org
Thu Feb 5 15:00:13 UTC 2026
On Wed, 4 Feb 2026 10:03:28 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
>> Hi all,
>>
>> please review this changes that removes execution of the (post-) barrier when enqueuing discovered references during full gc. It is simply not necessary as full gc throws away all remembered set information anyway later. Also allows adding checks that nobody else is executing G1BarrierSet code in the future.
>>
>> Testing: gha, tier1-5
>>
>> Thanks,
>> Thomas
>
> Looks good.
Thanks @kstefanj @walulyai for your reviews
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29564#issuecomment-3854181545
More information about the hotspot-gc-dev
mailing list