diff src/share/vm/runtime/globals.hpp @ 12275:63147986a428

8019835: Strings interned in different threads equal but does not == Summary: Add -XX:+VerifyStringTableAtExit option and code to verify StringTable invariants. Reviewed-by: rdurbin, sspitsyn, coleenp
author dcubed
date Wed, 18 Sep 2013 07:02:10 -0700
parents edb5ab0f3fe5
children 0f37d1badced
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue Sep 17 20:20:03 2013 +0200
+++ b/src/share/vm/runtime/globals.hpp	Wed Sep 18 07:02:10 2013 -0700
@@ -2525,6 +2525,9 @@
   product(bool, PrintStringTableStatistics, false,                          \
           "print statistics about the StringTable and SymbolTable")         \
                                                                             \
+  diagnostic(bool, VerifyStringTableAtExit, false,                          \
+          "verify StringTable contents at exit")                            \
+                                                                            \
   notproduct(bool, PrintSymbolTableSizeHistogram, false,                    \
           "print histogram of the symbol table")                            \
                                                                             \