diff -r 80206b8a9128 -r 2494ab195856 src/share/vm/memory/cardTableModRefBS.cpp --- a/src/share/vm/memory/cardTableModRefBS.cpp Fri Dec 12 19:55:26 2008 -0800 +++ b/src/share/vm/memory/cardTableModRefBS.cpp Mon Dec 15 13:58:57 2008 -0800 @@ -283,7 +283,7 @@ } else { entry = byte_after(old_region.last()); } - assert(index_for(new_region.last()) < (int) _guard_index, + assert(index_for(new_region.last()) < _guard_index, "The guard card will be overwritten"); // This line commented out cleans the newly expanded region and // not the aligned up expanded region.