RFR (XXS): 8244714: G1 young gen sizer allows zero young gen with huge -XX:NewRatio
stefan.johansson at oracle.com
stefan.johansson at oracle.com
Tue May 12 13:56:48 UTC 2020
Hi Thomas,
On 2020-05-12 15:28, Thomas Schatzl wrote:
> 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/
Looks good and trivial,
Stefan
> Testing:
> hs-tier1-3
>
> Thanks,
> Thomas
More information about the hotspot-gc-dev
mailing list