RFR: 8264026: Remove dependency between free collection set and eagerly reclaim humongous object tasks

Albert Mingkun Yang ayang at openjdk.java.net
Wed Mar 24 09:04:42 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

Marked as reviewed by ayang (Committer).

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

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



More information about the hotspot-gc-dev mailing list