8232802: Shenandoah: transition between "cset" and "pinned_cset" does not require cancelled gc
Reviewed-by: zgu
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp Tue Oct 22 18:53:22 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp Tue Oct 22 18:53:28 2019 +0200
@@ -200,7 +200,6 @@
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 @@
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: