Withdrawn: 8257774: G1: Trigger collect when free region count drops below threshold to prevent evacuation failures
duke
duke at openjdk.java.net
Wed Feb 10 21:41:41 UTC 2021
On Sun, 6 Dec 2020 17:39:54 GMT, Charlie Gracie <cgracie at openjdk.org> wrote:
> Bursts of short lived Humongous object allocations can cause GCs to be initiated with 0 free regions. When these GCs happen they take significantly longer to complete. No objects are evacuated so there is a large amount of time spent in reversing self forwarded pointers and the only memory recovered is from the short lived humongous objects. My proposal is to add a check to the slow allocation path which will force a GC to happen if the number of free regions drops below the amount that would be required to complete the GC if it happened at that moment. The threshold will be based on the survival rates from Eden and survivor spaces along with the space required for Tenure space evacuations.
>
> The goal is to resolve the issue with bursts of short lived humongous objects without impacting other workloads negatively. I would appreciate reviews and any feedback that you might have. Thanks.
>
> Here are the links to the threads on the mailing list where I initially discussion the issue and my idea to resolve it:
> https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2020-November/032189.html
> https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2020-December/032677.html
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1650
More information about the hotspot-gc-dev
mailing list