1.1 --- a/src/share/vm/memory/cardTableModRefBS.cpp Fri Dec 12 19:55:26 2008 -0800 1.2 +++ b/src/share/vm/memory/cardTableModRefBS.cpp Mon Dec 15 13:58:57 2008 -0800 1.3 @@ -283,7 +283,7 @@ 1.4 } else { 1.5 entry = byte_after(old_region.last()); 1.6 } 1.7 - assert(index_for(new_region.last()) < (int) _guard_index, 1.8 + assert(index_for(new_region.last()) < _guard_index, 1.9 "The guard card will be overwritten"); 1.10 // This line commented out cleans the newly expanded region and 1.11 // not the aligned up expanded region.