RFR: 8331557: Serial: Refactor SerialHeap::do_collection [v3]
Albert Mingkun Yang
ayang at openjdk.org
Mon May 6 09:28:13 UTC 2024
> It's probably easier to read the new code directly. The two classes in `serialVMOperations` serve as entrance points to invoke young/full GCs. Some previously hidden decisions are made more obvious, e.g. if a young-gc fails (or will probablly fail), fallback to full-gc.
>
> Additionally, `StatRecord` is removed, because this kind of info-aggregation should be done outsite VM (by third-party tool).
>
> Test: tier1-6
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-do-collect
- s1-do-collect
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19056/files
- new: https://git.openjdk.org/jdk/pull/19056/files/7375bfbf..d8d5a13e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19056&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19056&range=01-02
Stats: 2776 lines in 84 files changed: 2057 ins; 489 del; 230 mod
Patch: https://git.openjdk.org/jdk/pull/19056.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19056/head:pull/19056
PR: https://git.openjdk.org/jdk/pull/19056
More information about the hotspot-gc-dev
mailing list