RFR: 8331048: G1: Prune rebuild candidates based on G1HeapWastePercent early

Albert Mingkun Yang ayang at openjdk.org
Fri Apr 26 11:18:38 UTC 2024


On Fri, 26 Apr 2024 10:07:55 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi, 
> 
> Please review this change that moves the `G1CollectionSetChooser::build` out of the cleanup pause into the remark pause. This prunes the rebuild candidates based on G1HeapWastePercent, thereby reducing the rebuild time in cases where pruning happens. 
> 
> Testing: Tier 1 - 5
> 
> ![concurrent_rebuild](https://github.com/openjdk/jdk/assets/69453999/b14dd9d7-24e7-43ed-bf0f-5d3030d9180f)

Marked as reviewed by ayang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18970#pullrequestreview-2024804238


More information about the hotspot-gc-dev mailing list