8156660: JDK-8150393 does not set _scan_in_progress properly
Reviewed-by: ehelin, mgerdin
This commit is contained in:
parent
ad35e5189a
commit
029fbccccb
@ -273,7 +273,7 @@ void G1CMRootRegions::prepare_for_scan() {
|
|||||||
|
|
||||||
// Currently, only survivors can be root regions.
|
// Currently, only survivors can be root regions.
|
||||||
_claimed_survivor_index = 0;
|
_claimed_survivor_index = 0;
|
||||||
_scan_in_progress = true;
|
_scan_in_progress = _survivors->regions()->is_nonempty();
|
||||||
_should_abort = false;
|
_should_abort = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user