hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp
changeset 5431 5c4054a50dbb
parent 5251 f86f7a86d761
child 5698 091095915ee6
child 5547 f4b087cbb361
equal deleted inserted replaced
5403:6b0dd9c75dde 5431:5c4054a50dbb
   101       }
   101       }
   102     }
   102     }
   103 #endif
   103 #endif
   104     if (FLAG_IS_DEFAULT(OptoLoopAlignment)) {
   104     if (FLAG_IS_DEFAULT(OptoLoopAlignment)) {
   105       FLAG_SET_DEFAULT(OptoLoopAlignment, 4);
   105       FLAG_SET_DEFAULT(OptoLoopAlignment, 4);
       
   106     }
       
   107     // When using CMS, we cannot use memset() in BOT updates because
       
   108     // the sun4v/CMT version in libc_psr uses BIS which exposes
       
   109     // "phantom zeros" to concurrent readers. See 6948537.
       
   110     if (FLAG_IS_DEFAULT(UseMemSetInBOT) && UseConcMarkSweepGC) {
       
   111       FLAG_SET_DEFAULT(UseMemSetInBOT, false);
   106     }
   112     }
   107   }
   113   }
   108 
   114 
   109   // Use hardware population count instruction if available.
   115   // Use hardware population count instruction if available.
   110   if (has_hardware_popc()) {
   116   if (has_hardware_popc()) {