RFR (XXS): 8244714: G1 young gen sizer allows zero young gen with huge -XX:NewRatio
Thomas Schatzl
thomas.schatzl at oracle.com
Tue May 12 13:28:01 UTC 2020
Hi all,
can I have reviews for this change that regularizes behavior of the
young gen sizer?
In particular, if NewRatio is exclusively used for sizing the young gen
sizer may return 0 for minimum size if NewRatio is huge. This is
different to all other sizing modes.
There is no particular impact from what I understand from tests as the
heuristics will force a larger than zero sized eden later if possible.
CR:
https://bugs.openjdk.java.net/browse/JDK-8244714
Webrev:
http://cr.openjdk.java.net/~tschatzl/8244714/webrev/
Testing:
hs-tier1-3
Thanks,
Thomas
More information about the hotspot-gc-dev
mailing list