RFR: 8272364: Parallel GC adaptive size policy may shrink the heap below MinHeapSize [v4]

Roman Kennke rkennke at openjdk.org
Thu May 2 17:06:54 UTC 2024


On Thu, 2 May 2024 16:57:09 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

>> This appears to be another miscalculation of gc ergonomics. When `NewSize` is not explicitly set, `MinNewSize` should be derived from `MinHeapSize` using `NewRatio`.
>> 
>> This pull request has dependency on [PR#18539](https://github.com/openjdk/jdk/pull/18539)
>
> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added jtreg test

Looks good, thank you!

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

Marked as reviewed by rkennke (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18877#pullrequestreview-2036338171


More information about the hotspot-gc-dev mailing list