RFR: 8366781: Parallel: Include OS free memory in GC selection heuristics [v3]
Albert Mingkun Yang
ayang at openjdk.org
Wed Oct 8 11:56:25 UTC 2025
> 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 six additional commits since the last revision:
- 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27068/files
- new: https://git.openjdk.org/jdk/pull/27068/files/f8449f31..2267e5c0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27068&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27068&range=01-02
Stats: 192898 lines in 2530 files changed: 149763 ins; 27094 del; 16041 mod
Patch: https://git.openjdk.org/jdk/pull/27068.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27068/head:pull/27068
PR: https://git.openjdk.org/jdk/pull/27068
More information about the hotspot-gc-dev
mailing list