RFR: 8364934: G1: Rename members of G1CollectionSet [v3]

Thomas Schatzl tschatzl at openjdk.org
Thu Aug 7 16:15:34 UTC 2025


> Hi all,
> 
>   please review this renaming of various members of `G1CollectionSet` to
> 
> - use the same prefixes for the regions ("_regions") and candidate groups ("_groups") consistently, avoiding adding prefixes here and there for no discernible reason
> - remove unnecessary prefixes (`collection_set`) - everything is part of the collection set
> - fix/improve some documentation
> 
> Testing: gha
> 
> Thanks,
>   THoams

Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:

  * one more renaming: prepare_groups_for_scan() -> prepare_for_scan()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26670/files
  - new: https://git.openjdk.org/jdk/pull/26670/files/8a1a6e7b..b0f3180c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26670&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26670&range=01-02

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/26670.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26670/head:pull/26670

PR: https://git.openjdk.org/jdk/pull/26670


More information about the hotspot-gc-dev mailing list