RFR: 8273508: Support archived heap objects in SerialGC [v4]
Ioi Lam
iklam at openjdk.java.net
Tue Sep 28 06:30:00 UTC 2021
> When `-XX:+UseSerialGC is enabled`, load the CDS archived heap objects into `SerialHeap::old_gen()` during VM bootstrap. This improves VM start-up time, mostly because the module graph can be loaded from the archive.
>
>
> $ perf stat -r 40 java -XX:+UseSerialGC -version
>
> Before: 0.042484507 seconds time elapsed ( +- 0.72% )
> After: 0.031671000 seconds time elapsed ( +- 0.72% )
>
>
> Changes in the gc subdirectories are contributed by @tschatzl
Ioi Lam 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:
- Merge branch 'master' into 8273508-archived-heap-objects-for-serial-gc
- Exclude TestSerialGCWithCDS.java from hotspot_appcds_dynamic test group
- Comments from @calvinccheung
- Merge branch 'master' into 8273508-archived-heap-objects-for-serial-gc
- @tschatzl comments
- 8273508: Support archived heap objects in SerialGC
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5596/files
- new: https://git.openjdk.java.net/jdk/pull/5596/files/41ce0bf0..1ae36713
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5596&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5596&range=02-03
Stats: 1785 lines in 29 files changed: 1293 ins; 360 del; 132 mod
Patch: https://git.openjdk.java.net/jdk/pull/5596.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5596/head:pull/5596
PR: https://git.openjdk.java.net/jdk/pull/5596
More information about the hotspot-dev
mailing list