RFR: 8140326: G1: Consider putting regions where evacuation failed into next collection set [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Jun 5 11:37:06 UTC 2023


On Mon, 5 Jun 2023 08:14:07 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

>> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Doc additions
>
> src/hotspot/share/gc/g1/g1Policy.cpp line 1544:
> 
>> 1542:   uint num_optional_regions_selected = 0;
>> 1543:   uint num_expensive_regions_selected = 0;
>> 1544:   uint num_unreclaimable_regions = 0;
> 
> how is `num_unreclaimable_regions` set?

Leftover from the next PR where pinned regions are deemed "unreclaimable". I managed to remove it from the marking region selection code...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14220#discussion_r1217941488


More information about the hotspot-gc-dev mailing list