--- old/src/hotspot/share/opto/memnode.cpp 2018-03-16 09:52:29.164720870 +0100 +++ new/src/hotspot/share/opto/memnode.cpp 2018-03-16 09:52:28.972712675 +0100 @@ -1174,7 +1174,7 @@ // a load node that reads from the source array so we may be able to // optimize out the ArrayCopy node later. Node* LoadNode::can_see_arraycopy_value(Node* st, PhaseGVN* phase) const { - if (UseLoadBarrier && bottom_type()->make_oopptr() != NULL) { + if (UseZGC && bottom_type()->make_oopptr() != NULL) { return NULL; }