6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes

Reviewed-by: ysr, mchung
This commit is contained in:
Swamy Venkataramanappa 2008-12-15 13:58:57 -08:00
parent baa4663714
commit 06e37c03fb
6 changed files with 37 additions and 32 deletions

View file

@ -181,7 +181,7 @@ public:
void scrub(CardTableModRefBS* ctbs, BitMap* card_bm) {
HeapWord* hr_bot = hr()->bottom();
int hr_first_card_index = ctbs->index_for(hr_bot);
size_t hr_first_card_index = ctbs->index_for(hr_bot);
bm()->set_intersection_at_offset(*card_bm, hr_first_card_index);
#if PRT_COUNT_OCCUPIED
recount_occupied();