RFR: 8327495: Print more warning with -Xshare:auto when CDS fails to use archive [v3]

Calvin Cheung ccheung at openjdk.org
Tue Apr 29 23:44:46 UTC 2025


On Tue, 29 Apr 2025 00:06:49 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 
> Could you check other cases where the FMG is disabled and change their error reporting to use `MetaspaceShared::report_loading_error()`
> 

I changed additional two error reporting in metaspaceShared.cpp to `MetaspaceShared::report_loading_error()`.

> Also, we have a few messages that says: "CDS archive has aot-linked classes ...". I think these should be changed to use `CDSConfig::type_of_archive_being_loaded()`.

As a result of the above change, a few tests need to be adjusted for the expected output.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24889#discussion_r2067596854


More information about the hotspot-runtime-dev mailing list