Integrated: 8366781: Parallel: Include OS free memory in GC selection heuristics
Albert Mingkun Yang
ayang at openjdk.org
Mon Oct 27 10:13:11 UTC 2025
On Wed, 3 Sep 2025 09:58:33 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
This pull request has now been integrated.
Changeset: 91e1dcb1
Author: Albert Mingkun Yang <ayang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/91e1dcb1083cc8c451d2d169d7f2fdb51c1a158e
Stats: 37 lines in 1 file changed: 26 ins; 1 del; 10 mod
8366781: Parallel: Include OS free memory in GC selection heuristics
Reviewed-by: gli, iwalulya
-------------
PR: https://git.openjdk.org/jdk/pull/27068
More information about the hotspot-gc-dev
mailing list