RFR: 8342382: Implementation of JEP G1: Improve Application Throughput with a More Efficient Write-Barrier [v5]

Thomas Schatzl tschatzl at openjdk.org
Tue Mar 4 09:57:58 UTC 2025


On Tue, 4 Mar 2025 09:52:40 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> src/hotspot/share/gc/g1/g1ConcurrentRefine.hpp line 84:
>> 
>>> 82: // Tracks the current refinement state from idle to completion (and reset back
>>> 83: // to idle).
>>> 84: class G1ConcurrentRefineWorkState {
>> 
>> G1ConcurrentRefinementState? I am not convinced the "Work" adds any clarity
>
> We agreed on `G1ConcurrentRefineSweepState` for now, better suggestions welcome.
> 
> Use `Refine` instead of `Refinement` since all pre-existing classes also use `Refine`. This could be renamed in an extra change.

Add the `Sweep` in the name because this is not the state for entire refinement (which also includes information about when to start refinement/sweeping).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23739#discussion_r1979053344


More information about the core-libs-dev mailing list