mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6888316: G1: has_aborted() || _cm->region_stack_empty() fails
Remove incorrect guarantee. Reviewed-by: apetrusenko, iveresov
This commit is contained in:
parent
31de6adee9
commit
0835f0c4df
1 changed files with 0 additions and 7 deletions
|
@ -3416,13 +3416,6 @@ void CMTask::drain_region_stack(BitMapClosure* bc) {
|
||||||
_region_finger = NULL;
|
_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())
|
if (_cm->verbose_low())
|
||||||
gclog_or_tty->print_cr("[%d] drained region stack, size = %d",
|
gclog_or_tty->print_cr("[%d] drained region stack, size = %d",
|
||||||
_task_id, _cm->region_stack_size());
|
_task_id, _cm->region_stack_size());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue