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

Roman Kennke rkennke at openjdk.org
Thu May 2 14:29:56 UTC 2024


On Tue, 30 Apr 2024 16:46:28 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 with a new target base due to a merge or a rebase. The pull request now contains 13 commits:
> 
>  - Merge branch 'master' into JDK-8272364
>  - Merge branch 'JDK-8329223' into JDK-8272364
>  - Reverse previous change
>  - Check with github action
>  - Update copyright
>  - 8272364: Parallel GC adaptive size policy may shrink the heap below MinHeapSize
>  - Albert's comment
>  - Make sure MinOldSize <= OldSize when it is set on the command line
>  - Merge branch 'master' into JDK-8329223
>  - albertnetymk's suggestion
>  - ... and 3 more: https://git.openjdk.org/jdk/compare/aca1e836...e5491398

Can the example in the bug-report be turned into a jtreg test?

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

PR Comment: https://git.openjdk.org/jdk/pull/18877#issuecomment-2090632098


More information about the hotspot-gc-dev mailing list