Integrated: 8377150: G1: Full GC should not execute barrier code during reference processing
Thomas Schatzl
tschatzl at openjdk.org
Thu Feb 5 15:00:15 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
This pull request has now been integrated.
Changeset: 1614714b
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1614714bc2d9891f9a393c3e19f0c92a5713a276
Stats: 16 lines in 1 file changed: 15 ins; 0 del; 1 mod
8377150: G1: Full GC should not execute barrier code during reference processing
Reviewed-by: sjohanss, iwalulya
-------------
PR: https://git.openjdk.org/jdk/pull/29564
More information about the hotspot-gc-dev
mailing list