RFR: 8377150: G1: Full GC should not execute barrier code during reference processing
Stefan Johansson
sjohanss at openjdk.org
Thu Feb 5 08:39:05 UTC 2026
On Wed, 4 Feb 2026 09:40:39 GMT, Thomas Schatzl <tschatzl 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.
-------------
Marked as reviewed by sjohanss (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29564#pullrequestreview-3750123282
More information about the hotspot-gc-dev
mailing list