Integrated: 8365122: G1: Minor clean up of G1SurvivorRegions

Thomas Schatzl tschatzl at openjdk.org
Tue Aug 12 08:56:20 UTC 2025


On Fri, 8 Aug 2025 10:10:07 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this small cleanup around `G1SurvivorRegions`:
> 
> - make the `_regions` member a direct member of the class
> - use the C++ for-each construct for iterating over `_regions` makes the code more readable
> 
> Testing: gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 16e461ef
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/16e461ef31628ab47cd8484cdfc970c0008b97ba
Stats:     27 lines in 3 files changed: 2 ins; 10 del; 15 mod

8365122: G1: Minor clean up of G1SurvivorRegions

Reviewed-by: sangheki, kbarrett

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

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


More information about the hotspot-gc-dev mailing list