RFR: 8366781: Parallel: Include OS free memory in GC selection heuristics [v5]
Albert Mingkun Yang
ayang at openjdk.org
Mon Oct 27 10:13:10 UTC 2025
On Tue, 21 Oct 2025 09:31:32 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Add a new condition checking if OS has enough free memory to commit/expand old-gen, which determines whether the upcoming GC should be young or full.
>>
>> This is needed only when `UseAdaptiveSizePolicy` is on, because this is intended to avoid including extra OS-time in gc-pause-time tracking, used for young-gen resizing.
>>
>> Test: tier1-3
>
> Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:
>
> - review
> - Merge branch 'master' into pgc-os-free-mem
> - Merge branch 'master' into pgc-os-free-mem
> - review
> - sizet
> - Merge branch 'master' into pgc-os-free-mem
> - Merge branch 'master' into pgc-os-free-mem
> - review
> - Merge branch 'master' into pgc-os-free-mem
> - pgc-os-free-mem
Thanks for review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27068#issuecomment-3450466224
More information about the hotspot-gc-dev
mailing list