6948537: CMS: BOT walkers observe out-of-thin-air zeros on sun4v sparc/CMT

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
This commit is contained in:
Y. Srinivas Ramakrishna 2010-05-03 10:24:51 -07:00
parent 99196ff9ca
commit 762f60d343
4 changed files with 44 additions and 2 deletions

View file

@ -327,6 +327,10 @@ class CommandLineFlags {
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")\
\