RFR: 8357445: G1: Time-Based Heap Uncommit During Idle Periods [v2]

Monica Beckwith mbeckwit at openjdk.org
Fri Jul 18 17:00:19 UTC 2025


On Wed, 16 Jul 2025 21:47:33 GMT, Monica Beckwith <mbeckwit at openjdk.org> wrote:

>> src/hotspot/share/gc/g1/g1CollectedHeap.hpp line 931:
>> 
>>> 929:   G1Policy* policy() const { return _policy; }
>>> 930:   // The heap sizing policy.
>>> 931:   G1HeapSizingPolicy* heap_sizing_policy() const { return _heap_sizing_policy; }
>> 
>> unused method, probably not needed.
>
> I double-checked and I think it is needed. I will do a local build and try without it instead of removing it and get back to you.

will remove it as its not needed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26240#discussion_r2216436795


More information about the hotspot-gc-dev mailing list