RFR: JDK-8262068: Improve G1 Full GC by skipping compaction for regions with high survival ratio [v11]
Stefan Johansson
sjohanss at openjdk.java.net
Fri Mar 26 10:57:31 UTC 2021
On Fri, 26 Mar 2021 10:41:19 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
>> in G1ResetPinnedClosure, we need to skip freed humongous regions which depends on the info in attribute table. But if we don't update the corresponding table entry for freed humongous regions, these regions will invoke reset_pinned_after_full_gc(), seems it's wrong.
>
> Yes, and previously this has been done by checking `r->is_pinned()` so it didn't use the information from the attribute table and you are correct that now when using it we need to make sure freed humongous are skipped. To me it looks like they would not be skipped right now. Will start some testing to see if we can trigger this.
Realize now that the new code does things for free regions. 👍
-------------
PR: https://git.openjdk.java.net/jdk/pull/2760
More information about the hotspot-gc-dev
mailing list