RFR: 8284313: Improve warning messages when CDS archive fails to load [v4]

Calvin Cheung ccheung at openjdk.org
Fri Aug 12 16:34:09 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.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  fix a typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9823/files
  - new: https://git.openjdk.org/jdk/pull/9823/files/08dc3a15..ebf4cc7c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9823&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9823&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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