Integrated: 8284313: Improve warning messages when CDS archive fails to load

Calvin Cheung ccheung at openjdk.org
Fri Aug 12 16:43:24 UTC 2022


On Wed, 10 Aug 2022 17:19:51 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 22d6d315
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/22d6d315f2b1e0838d07bd30b6c2d58b5f98878b
Stats:     63 lines in 3 files changed: 54 ins; 0 del; 9 mod

8284313: Improve warning messages when CDS archive fails to load

Reviewed-by: iklam, dholmes

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

PR: https://git.openjdk.org/jdk/pull/9823


More information about the hotspot-runtime-dev mailing list