Integrated: 8276299: G1: Unify the wording buffer/node/element in G1SegmentedArrayXxx, G1CardSetXxx and related classes

Hamlin Li mli at openjdk.java.net
Thu Dec 2 01:09:32 UTC 2021


On Tue, 30 Nov 2021 02:11:30 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Currently, the words "buffer", "node" and "element" are used together in G1SegmentedArrayXxx, G1CardSetXxx and related classes in an inconsistent way, which is very unfavorable for understanding.
> 
> We should not confuse buffer and node together, and not confuse node and element together. The new wording should be based on something like the following rule:
> 
> segmented array (1) -- segment (N) -- slot (M)

This pull request has now been integrated.

Changeset: 67745fa7
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/67745fa749e5075b37aeca7db9d446bc287da835
Stats:     367 lines in 14 files changed: 2 ins; 0 del; 365 mod

8276299: G1: Unify the wording buffer/node/element in G1SegmentedArrayXxx, G1CardSetXxx and related classes

Reviewed-by: tschatzl, ayang, iwalulya

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

PR: https://git.openjdk.java.net/jdk/pull/6605



More information about the hotspot-gc-dev mailing list