8230385: [cds] No message is logged when shared image cannot be used due to mismatched configuration
Reviewed-by: stuefe, dholmes, ccheung
This commit is contained in:
parent
b3ea416824
commit
b08944dd96
@ -1645,6 +1645,7 @@ static void no_shared_spaces(const char* message) {
|
||||
"Class data sharing is inconsistent with other specified options.\n");
|
||||
vm_exit_during_initialization("Unable to use shared archive", message);
|
||||
} else {
|
||||
log_info(cds)("Unable to use shared archive: %s", message);
|
||||
FLAG_SET_DEFAULT(UseSharedSpaces, false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user