提交 e7b7dca9 编写于 作者: T tonyp

6888316: G1: has_aborted() || _cm->region_stack_empty() fails

Summary: Remove incorrect guarantee.
Reviewed-by: apetrusenko, iveresov
上级 5a66c8b7
......@@ -3416,13 +3416,6 @@ void CMTask::drain_region_stack(BitMapClosure* bc) {
_region_finger = NULL;
}
// We only push regions on the region stack during evacuation
// pauses. So if we come out the above iteration because we region
// stack is empty, it will remain empty until the next yield
// point. So, the guarantee below is safe.
guarantee( has_aborted() || _cm->region_stack_empty(),
"only way to exit the loop" );
if (_cm->verbose_low())
gclog_or_tty->print_cr("[%d] drained region stack, size = %d",
_task_id, _cm->region_stack_size());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册