Integrated: 8273508: Support archived heap objects in SerialGC

Ioi Lam iklam at openjdk.java.net
Tue Sep 28 06:30:03 UTC 2021


On Tue, 21 Sep 2021 06:11:58 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 6a573b88
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/6a573b888d4d3322b9165562f85e1b7b781a5ff1
Stats:     213 lines in 13 files changed: 180 ins; 2 del; 31 mod

8273508: Support archived heap objects in SerialGC

Reviewed-by: tschatzl, ccheung

-------------

PR: https://git.openjdk.java.net/jdk/pull/5596


More information about the hotspot-dev mailing list