提交 3fb91252 编写于 作者: A apetrusenko

6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359

Reviewed-by: tonyp, ysr
上级 1a7c4cb6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册