mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-07 04:05:17 +00:00
8280353: -XX:ArchiveClassesAtExit should print warning if base archive failed to load
Reviewed-by: iklam, ccheung
This commit is contained in:
parent
cab590517b
commit
a3a0dcd921
@ -955,6 +955,9 @@ void MetaspaceShared::initialize_runtime_shared_and_meta_spaces() {
|
||||
}
|
||||
} else {
|
||||
set_shared_metaspace_range(NULL, NULL, NULL);
|
||||
if (DynamicDumpSharedSpaces) {
|
||||
warning("-XX:ArchiveClassesAtExit is unsupported when base CDS archive is not loaded. Run with -Xlog:cds for more info.");
|
||||
}
|
||||
UseSharedSpaces = false;
|
||||
// The base archive cannot be mapped. We cannot dump the dynamic shared archive.
|
||||
AutoCreateSharedArchive = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user