RFR: 8264818: G1: Improve liveness check for empty pinned regions after full gc marking

Stefan Johansson sjohanss at openjdk.java.net
Wed Apr 14 08:43:58 UTC 2021


On Wed, 14 Apr 2021 08:32:33 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   can I have reviews for this small change improving the check for empty Open Archive regions using information that has recently been added to the full gc in [JDK-8263495](https://bugs.openjdk.java.net/browse/JDK-8263495) instead of scanning the region?
> 
> Testing: tier1-3, manual check that the freeing still works using some hack to create a dummy Open Archive region which contents are completely unreferenced and then running a "Hello World" app doing a system.gc. The patch for the VM to create that archive is [here](https://github.com/tschatzl/jdk/tree/a8264818-create-dummy-open-archive).

Looks good.

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

Marked as reviewed by sjohanss (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3485



More information about the hotspot-gc-dev mailing list