Integrated: 8371791: G1: Improve accuracy of G1CollectedHeap::non_young_occupancy_after_allocation()

Thomas Schatzl tschatzl at openjdk.org
Fri Nov 14 12:53:29 UTC 2025


On Thu, 13 Nov 2025 14:00:47 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that improves the accuracy of `G1CollectedHeap::non_young_occupancy_after_allocation()` by considering the free space in the old gen retained region.
> 
> Testing: tier1-3, gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 4cc655a2
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4cc655a2f445bb32ce555b80ac28610b26c51f4c
Stats:     13 lines in 3 files changed: 11 ins; 0 del; 2 mod

8371791: G1: Improve accuracy of G1CollectedHeap::non_young_occupancy_after_allocation()

Reviewed-by: ayang, iwalulya

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

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


More information about the hotspot-gc-dev mailing list