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

Zhengyu Gu zgu at openjdk.org
Sun Apr 21 00:17:40 UTC 2024


> Parallel GC resizes old gen even when setting -Xms == -Xmx. 
> 
> During GC argument setup, it always set `MinOldSize = GenAlignment` and does not make any adjustment when `-Xms == -Xmx`, while does the adjustment for young gen [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shared/genArguments.cpp#L250)

Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18539/files
  - new: https://git.openjdk.org/jdk/pull/18539/files/e869ee8e..3b9fd3af

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18539&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18539&range=05-06

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18539.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18539/head:pull/18539

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


More information about the hotspot-gc-dev mailing list