8232802: Shenandoah: transition between "cset" and "pinned_cset" does not require cancelled gc
authorshade
Tue, 22 Oct 2019 18:53:28 +0200
changeset 58741 62e16c1e0f66
parent 58740 259b54092265
child 58742 a6c56d661d75
8232802: Shenandoah: transition between "cset" and "pinned_cset" does not require cancelled gc Reviewed-by: zgu
src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp
--- 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: