diff src/share/vm/runtime/globals.hpp @ 1518:3bfae429e2cf

6948537: CMS: BOT walkers observe out-of-thin-air zeros on sun4v sparc/CMT Summary: On sun4v/CMT avoid use of memset() in BOT updates so as to prevent concurrent BOT readers from seeing the phantom zeros arising from memset()'s use of BIS. Reviewed-by: jmasa, johnc, minqi, poonam, tonyp
author ysr
date Mon, 03 May 2010 10:24:51 -0700
parents f03d0a26bf83
children bb843ebc7c55
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Thu Apr 22 13:23:15 2010 -0700
+++ b/src/share/vm/runtime/globals.hpp	Mon May 03 10:24:51 2010 -0700
@@ -327,6 +327,10 @@
   product(bool, UseMembar, false,                                           \
           "(Unstable) Issues membars on thread state transitions")          \
                                                                             \
+  /* Temporary: See 6948537 */                                             \
+  experimental(bool, UseMemSetInBOT, true,                                  \
+          "(Unstable) uses memset in BOT updates in GC code")               \
+                                                                            \
   diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug,                  \
           "Enable normal processing of flags relating to field diagnostics")\
                                                                             \