Integrated: 8272364: Parallel GC adaptive size policy may shrink the heap below MinHeapSize

Zhengyu Gu zgu at openjdk.org
Fri May 3 00:31:01 UTC 2024


On Sat, 20 Apr 2024 15:05:55 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)

This pull request has now been integrated.

Changeset: 6bef0474
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6bef0474c8b8773d0d20c0f25c36a2ce9cdbd7e8
Stats:     100 lines in 2 files changed: 100 ins; 0 del; 0 mod

8272364: Parallel GC adaptive size policy may shrink the heap below MinHeapSize

Reviewed-by: ayang, rkennke

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

PR: https://git.openjdk.org/jdk/pull/18877


More information about the hotspot-gc-dev mailing list