src/share/vm/memory/blockOffsetTable.hpp

changeset 2087
52f2bc645da5
parent 2071
be3f9c242c9d
child 2314
f95d63e2154a
equal deleted inserted replaced
2077:effb55808a18 2087:52f2bc645da5
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

mercurial