Integrated: 8264026: Remove dependency between free collection set and eagerly reclaim humongous object tasks
Thomas Schatzl
tschatzl at openjdk.java.net
Wed Mar 24 16:04:41 UTC 2021
On Tue, 23 Mar 2021 15:16:16 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi,
>
> I am currently working on [JDK-8214237](https://bugs.openjdk.java.net/browse/JDK-8214237) to merge some phases from `G1CollectedHeap::post_evacuate_collection_set()` into less parallel phases.
>
> While investigating dependencies I found that `free_collection_set` and `eagerly_reclaim_humongous_regions` have a dependency: `free_collection_set` rebuilds the free list at the end (in another parallel phase :( ), and `eagerly_reclaim_humongous_regions` adds to those regions.
>
> This dependency is unnecessary: just move the rebuilding of the free list after eagerly reclaiming humongous regions, and neither needs to care about updating the free regions list.
>
> Testing: hs-tier1-5
This pull request has now been integrated.
Changeset: 3aee5ad2
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/3aee5ad2
Stats: 17 lines in 2 files changed: 10 ins; 5 del; 2 mod
8264026: Remove dependency between free collection set and eagerly reclaim humongous object tasks
Reviewed-by: sjohanss, ayang
-------------
PR: https://git.openjdk.java.net/jdk/pull/3154
More information about the hotspot-gc-dev
mailing list