RFR: 8329223: Parallel: Parallel GC resizes heap even has -Xms = -Xmx [v5]

Zhengyu Gu zgu at openjdk.org
Fri Apr 19 14:45:58 UTC 2024


On Fri, 19 Apr 2024 14:28:35 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Make sure MinOldSize <= OldSize when it is set on the command line
>
> src/hotspot/share/gc/shared/genArguments.cpp line 312:
> 
>> 310: 
>> 311:     // Make sure MinOldSize <= OldSize
>> 312:     MinOldSize = MIN2(MinOldSize, initial_old_size);
> 
> Do you have a test case that requires this? I'd expect `MIN3` above to be enough.

Without this, gtest fails on MacOSX (https://github.com/zhengyu123/jdk/actions/runs/8743941793/job/23997262102)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18539#discussion_r1572484344


More information about the hotspot-gc-dev mailing list