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

Zhengyu Gu zgu at openjdk.org
Sat Apr 20 16:10:48 UTC 2024


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)

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

Depends on: https://git.openjdk.org/jdk/pull/18539

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

Changes: https://git.openjdk.org/jdk/pull/18877/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18877&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8272364
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18877.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18877/head:pull/18877

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


More information about the hotspot-gc-dev mailing list