8192810: EnableThreadSMRStatistics should be default off in release builds
Reviewed-by: gtriantafill, coleenp, eosterlund
--- a/src/hotspot/share/runtime/globals.hpp Fri Dec 01 18:24:52 2017 +0300
+++ b/src/hotspot/share/runtime/globals.hpp Fri Dec 01 11:00:46 2017 -0500
@@ -2488,7 +2488,7 @@
diagnostic(bool, EnableThreadSMRExtraValidityChecks, true, \
"Enable Thread SMR extra validity checks") \
\
- diagnostic(bool, EnableThreadSMRStatistics, true, \
+ diagnostic(bool, EnableThreadSMRStatistics, trueInDebug, \
"Enable Thread SMR Statistics") \
\
product(bool, Inline, true, \