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

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


On Thu, 13 Nov 2025 17:08:40 GMT, Albert Mingkun Yang <ayang 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
>
> Marked as reviewed by ayang (Reviewer).

Thank you for your reviews, @albertnetymk @walulyai .

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

PR Comment: https://git.openjdk.org/jdk/pull/28294#issuecomment-3532581038


More information about the hotspot-gc-dev mailing list