comparison src/share/vm/memory/blockOffsetTable.hpp @ 1732:52f2bc645da5

6978533: CMS: Elide BOT update asserts until 6977974 is fixed correctly Reviewed-by: jcoomes, jmasa, tonyp
author ysr
date Thu, 19 Aug 2010 12:02:10 -0700
parents be3f9c242c9d
children f95d63e2154a
comparison
equal deleted inserted replaced
1722:effb55808a18 1732: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