8230385: [cds] No message is logged when shared image cannot be used due to mismatched configuration
authoriklam
Fri, 29 Nov 2019 14:11:50 -0800
changeset 59328 f280911d3427
parent 59327 2c3578aa0bdf
child 59329 289000934908
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
--- a/src/hotspot/share/runtime/arguments.cpp	Fri Nov 29 17:31:01 2019 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Fri Nov 29 14:11:50 2019 -0800
@@ -1645,6 +1645,7 @@
       "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);
   }
 }