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

Zhengyu Gu zgu at openjdk.org
Mon Apr 15 14:24:44 UTC 2024


On Mon, 8 Apr 2024 08:13:40 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> I meant setting `MinOldSize` based the `new + old = heap` invariant on L279 and removing all other writes to it.

Sorry for replying late, I was on PTO with spotty network connection.

Applied the changes you suggested, I am getting following errors:
`[0.013s][warning][gc,ergo] Inconsistency between generation sizes and heap size, resizing the generations to fit the heap.`
`Error occurred during initialization of VM`
`GC triggered before VM initialization completed. Try increasing NewSize, current value 192K.`

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

PR Comment: https://git.openjdk.org/jdk/pull/18539#issuecomment-2056983697


More information about the hotspot-gc-dev mailing list