comparison 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
comparison
equal deleted inserted replaced
11:168498f02dfa 12:85973d7e337a
281 if (old_region.last() < _whole_heap.start()) { 281 if (old_region.last() < _whole_heap.start()) {
282 entry = byte_for(_whole_heap.start()); 282 entry = byte_for(_whole_heap.start());
283 } else { 283 } else {
284 entry = byte_after(old_region.last()); 284 entry = byte_after(old_region.last());
285 } 285 }
286 assert(index_for(new_region.last()) < (int) _guard_index, 286 assert(index_for(new_region.last()) < _guard_index,
287 "The guard card will be overwritten"); 287 "The guard card will be overwritten");
288 // This line commented out cleans the newly expanded region and 288 // This line commented out cleans the newly expanded region and
289 // not the aligned up expanded region. 289 // not the aligned up expanded region.
290 // jbyte* const end = byte_after(new_region.last()); 290 // jbyte* const end = byte_after(new_region.last());
291 jbyte* const end = (jbyte*) new_end_for_commit; 291 jbyte* const end = (jbyte*) new_end_for_commit;