RFR: 8359423: Improve error message in case of missing jsa shared archive [v5]

Matthias Baesken mbaesken at openjdk.org
Fri Sep 12 07:44:01 UTC 2025


On Thu, 11 Sep 2025 15:43:28 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix message
>
> src/hotspot/share/cds/aotMetaspace.cpp line 1291:
> 
>> 1289:     vm_exit_during_initialization("Unable to use AOT cache.", nullptr);
>> 1290:   } else {
>> 1291:     vm_exit_during_initialization("Unable to use shared archive. Unrecoverable archive loading error", message);
> 
> Maybe we should add a hint like "Run with -Xlog:aot,cds for details."?

Sounds like a good idea, I added the hint.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25846#discussion_r2343294180


More information about the hotspot-runtime-dev mailing list