mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359
Reviewed-by: tonyp, ysr
This commit is contained in:
parent
e57cedc5ed
commit
da1b89b746
1 changed files with 1 additions and 1 deletions
|
@ -1330,7 +1330,7 @@ public:
|
|||
// In any case, we set the last card num.
|
||||
last_card_num = obj_last_card_num;
|
||||
|
||||
marked_bytes += obj_sz * HeapWordSize;
|
||||
marked_bytes += (size_t)obj_sz * HeapWordSize;
|
||||
// Find the next marked object after this one.
|
||||
start = _bm->getNextMarkedWordAddress(start + 1, nextTop);
|
||||
_changed = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue