161 memset(&_offset_array[index_for(left)], offset, num_cards); |
161 memset(&_offset_array[index_for(left)], offset, num_cards); |
162 } else { |
162 } else { |
163 size_t i = index_for(left); |
163 size_t i = index_for(left); |
164 const size_t end = i + num_cards; |
164 const size_t end = i + num_cards; |
165 for (; i < end; i++) { |
165 for (; i < end; i++) { |
166 assert(!reducing || _offset_array[i] >= offset, "Not reducing"); |
166 // Elided until CR 6977974 is fixed properly. |
|
167 // assert(!reducing || _offset_array[i] >= offset, "Not reducing"); |
167 _offset_array[i] = offset; |
168 _offset_array[i] = offset; |
168 } |
169 } |
169 } |
170 } |
170 } |
171 } |
171 |
172 |
182 memset(&_offset_array[left], offset, num_cards); |
183 memset(&_offset_array[left], offset, num_cards); |
183 } else { |
184 } else { |
184 size_t i = left; |
185 size_t i = left; |
185 const size_t end = i + num_cards; |
186 const size_t end = i + num_cards; |
186 for (; i < end; i++) { |
187 for (; i < end; i++) { |
187 assert(!reducing || _offset_array[i] >= offset, "Not reducing"); |
188 // Elided until CR 6977974 is fixed properly. |
|
189 // assert(!reducing || _offset_array[i] >= offset, "Not reducing"); |
188 _offset_array[i] = offset; |
190 _offset_array[i] = offset; |
189 } |
191 } |
190 } |
192 } |
191 } |
193 } |
192 |
194 |