hotspot/src/share/vm/classfile/stringTable.cpp
changeset 38008 58732890050d
parent 37995 92aec042a43b
child 38647 e17e25c51396
--- a/hotspot/src/share/vm/classfile/stringTable.cpp	Wed Apr 20 19:54:51 2016 +0300
+++ b/hotspot/src/share/vm/classfile/stringTable.cpp	Wed Apr 20 16:04:38 2016 -0400
@@ -730,8 +730,12 @@
   if (soc->writing()) {
     if (!(UseG1GC && UseCompressedOops && UseCompressedClassPointers)) {
       if (PrintSharedSpaces) {
-        tty->print_cr("Shared strings are excluded from the archive as UseG1GC, "
-                      "UseCompressedOops and UseCompressedClassPointers are required.");
+        tty->print_cr(
+          "Shared strings are excluded from the archive as UseG1GC, "
+          "UseCompressedOops and UseCompressedClassPointers are required."
+          "Current settings: UseG1GC=%s, UseCompressedOops=%s, UseCompressedClassPointers=%s.",
+          BOOL_TO_STR(UseG1GC), BOOL_TO_STR(UseCompressedOops),
+          BOOL_TO_STR(UseCompressedClassPointers));
       }
     } else {
       int num_buckets = the_table()->number_of_entries() /