RFR: 8297186: G1 triggers unnecessary full GCs when heap utilization is low
Andrey Turbanov
aturbanov at openjdk.org
Thu Nov 17 20:23:23 UTC 2022
On Thu, 17 Nov 2022 13:14:12 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> can I have reviews for this change that better enforces that after gc there is at least one eden region to allocate into?
>
> That avoids the problem described in the PR.
>
> Thanks,
> Thomas
test/hotspot/jtreg/gc/g1/TestOneEdenRegionAfterGC.java line 43:
> 41:
> 42: public class TestOneEdenRegionAfterGC {
> 43: private static long YoungGenSize = 32 * 1024 * 1024;
nit
Suggestion:
private static long YoungGenSize = 32 * 1024 * 1024;
-------------
PR: https://git.openjdk.org/jdk/pull/11209
More information about the hotspot-gc-dev
mailing list