RFR: 8276107: Preventive collections trigger before maxing out heap
Thomas Schatzl
tschatzl at openjdk.java.net
Thu Oct 28 16:17:35 UTC 2021
Hi all,
can I have reviews for this small fix for an issue where preventive gcs that are supposed to prevent evacuation failure were also started if there were only not enough free committed regions available but more than enough uncommitted regions to expand the heap (to avoid the evacuation failure).
Testing: gha
Thanks,
Thomas
-------------
Commit messages:
- Do not start preventive gc before completely out of regions
Changes: https://git.openjdk.java.net/jdk/pull/6160/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6160&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8276107
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/6160.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6160/head:pull/6160
PR: https://git.openjdk.java.net/jdk/pull/6160
More information about the hotspot-gc-dev
mailing list