RFR: 8329223: Parallel: Parallel GC resizes heap even has -Xms = -Xmx [v2]
Zhengyu Gu
zgu at openjdk.org
Fri Mar 29 00:47:02 UTC 2024
On Thu, 28 Mar 2024 23:43:57 GMT, Bernd <duke at openjdk.org> wrote:
>> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Cleanup
>
> src/hotspot/share/gc/parallel/psOldGen.cpp line 297:
>
>> 295:
>> 296: new_size = align_up(new_size, alignment);
>> 297: new_size = clamp(new_size, min_gen_size(), max_gen_size());
>
> Duplicates line, Is that a merge conflict? It would be useless if max_gen_size() is aligned. If not would it be better to align_down() the resulting value?
Oops, that's a leftover. Thank you for pointing out.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18539#discussion_r1543904685
More information about the hotspot-gc-dev
mailing list