Integrated: 8355756: G1HeapSizingPolicy::full_collection_resize_amount should consider allocation size

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


On Tue, 29 Apr 2025 09:02:43 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

This pull request has now been integrated.

Changeset: 91194517
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/91194517c75a96fe7bcc2dcf5e9c42af9cf5975a
Stats:     42 lines in 8 files changed: 19 ins; 0 del; 23 mod

8355756: G1HeapSizingPolicy::full_collection_resize_amount should consider allocation size

Reviewed-by: ayang, tschatzl

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

PR: https://git.openjdk.org/jdk/pull/24944


More information about the hotspot-gc-dev mailing list