--- a/src/hotspot/share/c1/c1_Runtime1.cpp Wed Oct 18 19:36:17 2017 -0700
+++ b/src/hotspot/share/c1/c1_Runtime1.cpp Thu Oct 19 11:25:55 2017 +0200
@@ -1372,8 +1372,6 @@
// barrier. The assert will fail if this is not the case.
// Note that we use the non-virtual inlineable variant of write_ref_array.
BarrierSet* bs = Universe::heap()->barrier_set();
- assert(bs->has_write_ref_array_opt(), "Barrier set must have ref array opt");
- assert(bs->has_write_ref_array_pre_opt(), "For pre-barrier as well.");
if (src == dst) {
// same object, no check
bs->write_ref_array_pre(dst_addr, length);