RFR: 8355756: G1HeapSizingPolicy::full_collection_resize_amount should consider allocation size [v4]

Ivan Walulya iwalulya at openjdk.org
Wed May 21 08:10:12 UTC 2025


On Tue, 20 May 2025 15:34:29 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

>> Hi,
>> 
>> Please review this change to account for pending allocations when deciding how much to shrink the heap after a full gc. Otherwise, we shrink the heap only to trigger an expansion to satisfy the allocation request that triggered the full gc.
>> 
>> Testing: Tier 1-3
>
> Ivan Walulya has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
> 
>  - Merge remote-tracking branch 'upstream/master' into full_collection_resize_amount
>  - use align_up_to_region_byte_size
>  - Merge remote-tracking branch 'upstream/master' into full_collection_resize_amount
>  - Thomas Review
>  - nit
>  - refactor full collection

Thanks for the reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/24944#issuecomment-2896999587


More information about the hotspot-gc-dev mailing list