--- old/src/hotspot/share/opto/macroArrayCopy.cpp 2018-03-16 09:52:28.824706357 +0100 +++ new/src/hotspot/share/opto/macroArrayCopy.cpp 2018-03-16 09:52:28.636698333 +0100 @@ -551,7 +551,7 @@ // At this point we know we do not need type checks on oop stores. // Let's see if we need card marks: - if (alloc != NULL && GraphKit::use_ReduceInitialCardMarks() && !UseLoadBarrier) { + if (alloc != NULL && GraphKit::use_ReduceInitialCardMarks() && !UseZGC) { // If we do not need card marks, copy using the jint or jlong stub. copy_type = LP64_ONLY(UseCompressedOops ? T_INT : T_LONG) NOT_LP64(T_INT); assert(type2aelembytes(basic_elem_type) == type2aelembytes(copy_type),