RFR: 8071277: G1: Merge commits and uncommits of contiguous memory [v3]

Thomas Schatzl tschatzl at openjdk.org
Mon Sep 29 09:31:19 UTC 2025


On Mon, 29 Sep 2025 07:37:30 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

>> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   * ayang review, renaming
>
> src/hotspot/share/gc/g1/g1RegionToSpaceMapper.cpp line 186:
> 
>> 184:       page++;
>> 185:     }
>> 186:     return MIN2(page, end);
> 
> shouldn't `page <= end` be true here? So just `return page;`

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27381#discussion_r2387285925


More information about the hotspot-gc-dev mailing list