RFR: 8330071: GenShen: Allow old to expand again at end of each GC [v2]

Kelvin Nilsen kdnilsen at openjdk.org
Thu Apr 11 20:42:53 UTC 2024


On Thu, 11 Apr 2024 19:56:13 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

>> Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Spelling errors in comment
>
> What would go wrong if, as indicated in your comments, you were to return `heap - min_young` for `max(old)`, and `heap - max_young` for `min(old)` ?
> 
> If nothing would go wrong, why not do that? If something would go wrong if one did that, may be that needs to be documented along with the comment you added.

@ysramakrishna : Nothing would go wrong.  It's just more computation for no increased value.  Before transferring regions from generation src to generation dest, we confirm that the proposed transfer does not violate minimum size of src generation or maximum size of dest generation.

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

PR Comment: https://git.openjdk.org/shenandoah/pull/421#issuecomment-2050499435


More information about the shenandoah-dev mailing list