Integrated: 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Zhengyu Gu
zgu at openjdk.org
Tue Apr 30 16:23:14 UTC 2024
On Thu, 28 Mar 2024 19:21:01 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> 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)
This pull request has now been integrated.
Changeset: aca1e836
Author: Zhengyu Gu <zgu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/aca1e8365bf0f64bf18caf798bbca1d25b3c4117
Stats: 11 lines in 1 file changed: 6 ins; 3 del; 2 mod
8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Reviewed-by: ayang, gli
-------------
PR: https://git.openjdk.org/jdk/pull/18539
More information about the hotspot-gc-dev
mailing list