RFR: 8284313: Improve warning messages when CDS archive fails to load
Calvin Cheung
ccheung at openjdk.org
Wed Aug 10 17:31:08 UTC 2022
Please review this change for adding more helpful messages when a CDS archive has failed to load without CDS logging being enabled.
e.g. warning for mismatch class paths between dump time and run time:
`[warning][cds] shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure)`
warning if a timestamp of a jar file has been changed during run time:
`[warning][cds] app.jar timestamp has changed.`
Passed mach5 tiers 1,2,3 testing.
-------------
Commit messages:
- 8284313: Improve warning messages when CDS archive fails to load
Changes: https://git.openjdk.org/jdk/pull/9823/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9823&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8284313
Stats: 56 lines in 3 files changed: 49 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/9823.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9823/head:pull/9823
PR: https://git.openjdk.org/jdk/pull/9823
More information about the hotspot-runtime-dev
mailing list