8232802: Shenandoah: transition between "cset" and "pinned_cset" does not require cancelled gc
Reviewed-by: zgu
This commit is contained in:
parent
fd5d5d7622
commit
80f1aaa7a8
@ -200,7 +200,6 @@ void ShenandoahHeapRegion::make_pinned() {
|
||||
case _pinned_humongous_start:
|
||||
return;
|
||||
case _cset:
|
||||
guarantee(_heap->cancelled_gc(), "only valid when evac has been cancelled");
|
||||
_state = _pinned_cset;
|
||||
return;
|
||||
default:
|
||||
@ -220,7 +219,6 @@ void ShenandoahHeapRegion::make_unpinned() {
|
||||
case _humongous_start:
|
||||
return;
|
||||
case _pinned_cset:
|
||||
guarantee(_heap->cancelled_gc(), "only valid when evac has been cancelled");
|
||||
set_state(_cset);
|
||||
return;
|
||||
case _pinned_humongous_start:
|
||||
|
Loading…
Reference in New Issue
Block a user