RFR: 8346920: Serial: Support allocation in old generation before GC [v2]
Albert Mingkun Yang
ayang at openjdk.org
Mon Jan 6 14:36:23 UTC 2025
> This PR introduces a new strategy to determine whether an allocation should be attempted in the old generation or if a GC cycle should be initiated, based on the `GCTimeRatio`. With this change, the benchmark attached to the ticket now completes in ~13 GC, a significant improvement compared to the >1000 GC observed previously.
>
> 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 three additional commits since the last revision:
- review
- Merge branch 'master' into s1-gc-time-ratio
- s1-gc-time-ratio
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22899/files
- new: https://git.openjdk.org/jdk/pull/22899/files/ee6300d7..52aa4ce4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22899&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22899&range=00-01
Stats: 1173 lines in 32 files changed: 31 ins; 1082 del; 60 mod
Patch: https://git.openjdk.org/jdk/pull/22899.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22899/head:pull/22899
PR: https://git.openjdk.org/jdk/pull/22899
More information about the hotspot-gc-dev
mailing list