RFR: 8297186: G1 triggers unnecessary full GCs when heap utilization is low

Thomas Schatzl tschatzl at openjdk.org
Thu Nov 17 17:23:00 UTC 2022


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

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

Commit messages:
 - Add test
 - Make sure that after young gc, we try to get at least one empty eden region

Changes: https://git.openjdk.org/jdk/pull/11209/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11209&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297186
  Stats: 117 lines in 3 files changed: 96 ins; 10 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/11209.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11209/head:pull/11209

PR: https://git.openjdk.org/jdk/pull/11209


More information about the hotspot-gc-dev mailing list