6978533: CMS: Elide BOT update asserts until 6977974 is fixed correctly

Reviewed-by: jcoomes, jmasa, tonyp
This commit is contained in:
Y. Srinivas Ramakrishna 2010-08-19 12:02:10 -07:00
parent 846cfeee6e
commit 500e68f0b1

View File

@ -163,7 +163,8 @@ class BlockOffsetSharedArray: public CHeapObj {
size_t i = index_for(left);
const size_t end = i + num_cards;
for (; i < end; i++) {
assert(!reducing || _offset_array[i] >= offset, "Not reducing");
// Elided until CR 6977974 is fixed properly.
// assert(!reducing || _offset_array[i] >= offset, "Not reducing");
_offset_array[i] = offset;
}
}
@ -184,7 +185,8 @@ class BlockOffsetSharedArray: public CHeapObj {
size_t i = left;
const size_t end = i + num_cards;
for (; i < end; i++) {
assert(!reducing || _offset_array[i] >= offset, "Not reducing");
// Elided until CR 6977974 is fixed properly.
// assert(!reducing || _offset_array[i] >= offset, "Not reducing");
_offset_array[i] = offset;
}
}