RFR: 8333129: Move ShrinkHeapInSteps flag to Serial GC
David Holmes
dholmes at openjdk.org
Fri May 31 05:46:01 UTC 2024
On Wed, 29 May 2024 12:36:40 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> A trivial change that moves Serial GC specific flag `ShrinkHeapInSteps` to `serial_globals.hpp`
Okay. Thanks
Apologies, I was mistakenly thinking that moving the flag would cause a runtime error for code not using Serial GC, but it will only cause an error if a VM were built without Serial GC support, which I don't think is possible.
I will file a RFE to get the GC Tuning guide updates (if @kimbarrett doesn't beat me to it :) ).
I also note that component-specific global flags don't advertise the fact they are global-specific.
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19452#pullrequestreview-2089935612
PR Comment: https://git.openjdk.org/jdk/pull/19452#issuecomment-2141270467
More information about the hotspot-gc-dev
mailing list