comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 1030:dfdaf65c3423

6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359 Reviewed-by: tonyp, ysr
author apetrusenko
date Thu, 22 Oct 2009 07:43:49 -0700
parents 11d4857fe5e1
children 6270f80a7331
comparison
equal deleted inserted replaced
1029:b0b36f0de97e 1030:dfdaf65c3423
1328 #endif 1328 #endif
1329 } 1329 }
1330 // In any case, we set the last card num. 1330 // In any case, we set the last card num.
1331 last_card_num = obj_last_card_num; 1331 last_card_num = obj_last_card_num;
1332 1332
1333 marked_bytes += obj_sz * HeapWordSize; 1333 marked_bytes += (size_t)obj_sz * HeapWordSize;
1334 // Find the next marked object after this one. 1334 // Find the next marked object after this one.
1335 start = _bm->getNextMarkedWordAddress(start + 1, nextTop); 1335 start = _bm->getNextMarkedWordAddress(start + 1, nextTop);
1336 _changed = true; 1336 _changed = true;
1337 } 1337 }
1338 // Handle the last range, if any. 1338 // Handle the last range, if any.