diff src/share/vm/memory/cardTableModRefBS.cpp @ 489:2494ab195856

6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes. Reviewed-by: ysr, mchung
author swamyv
date Mon, 15 Dec 2008 13:58:57 -0800
parents 1ee8caae33af
children 0fbdb4381b99 9e5a6ed08fc9
line wrap: on
line diff
--- 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.