Integrated: 8253909: Implement detailed map file for CDS

Ioi Lam iklam at openjdk.java.net
Thu Oct 8 07:01:35 UTC 2020


On Thu, 1 Oct 2020 20:06:32 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> For analyzing the contents of a CDS archive, we need a "map file" that describes the archive in different levels of
> detail. This can be done using unified logging. E.g.,
> java -Xshare:dump -Xlog:cds+map=trace:file=cds.map:none:filesize=0
> 
> For example, we can use the map file for troubleshooting [JDK-8253495](https://bugs.openjdk.java.net/browse/JDK-8253495)
> (runtime/cds/DeterministicDump.java broken). We can diff two different cds.map files to see where the non-deterministic
> contents come from.
> See attachments in [JDK-8253909](https://bugs.openjdk.java.net/browse/JDK-8253909) for example map files at the
> info/debug/trace levels.

This pull request has now been integrated.

Changeset: d1e94eeb
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d1e94eeb
Stats:     395 lines in 10 files changed: 335 ins; 19 del; 41 mod

8253909: Implement detailed map file for CDS

Reviewed-by: stuefe, ccheung

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

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


More information about the hotspot-runtime-dev mailing list