From b08944dd96f9f4c2946406661a9481f4501cbbac Mon Sep 17 00:00:00 2001 From: Ioi Lam Date: Fri, 29 Nov 2019 14:11:50 -0800 Subject: [PATCH] 8230385: [cds] No message is logged when shared image cannot be used due to mismatched configuration Reviewed-by: stuefe, dholmes, ccheung --- src/hotspot/share/runtime/arguments.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp index 63065adc611..c35641ad44b 100644 --- a/src/hotspot/share/runtime/arguments.cpp +++ b/src/hotspot/share/runtime/arguments.cpp @@ -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); } }