RFR: 8377150: G1: Full GC should not execute barrier code during reference processing

Ivan Walulya iwalulya at openjdk.org
Thu Feb 5 14:33:20 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

Marked as reviewed by iwalulya (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29564#pullrequestreview-3757478813


More information about the hotspot-gc-dev mailing list