--- a/src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp Tue Apr 02 08:19:36 2019 -0700
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp Tue Apr 02 18:13:42 2019 +0200
@@ -51,7 +51,8 @@
}
shenandoah_assert_correct(NULL, orig);
// store the original value that was in the field reference
- ShenandoahThreadLocalData::satb_mark_queue(thread).enqueue(orig);
+ assert(ShenandoahThreadLocalData::satb_mark_queue(thread).is_active(), "Shouldn't be here otherwise");
+ ShenandoahThreadLocalData::satb_mark_queue(thread).enqueue_known_active(orig);
JRT_END
JRT_LEAF(oopDesc*, ShenandoahRuntime::write_barrier_JRT(oopDesc* src))