equal
deleted
inserted
replaced
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()) { |