The assertion in share/vm/memory/cardTableModRefBS.cpp in method
CardTableModRefBS::resize_covered_region()
// This line commented out cleans the newly expanded region and
// not the aligned up expanded region.
// jbyte* const end = byte_after(new_region.last());
jbyte* const end = (jbyte*) new_end_for_commit;
assert((end >= byte_after(new_region.last())) || collided,
"Expect to be beyond new region unless impacting another region");
is too strong.
|