--- old/src/share/vm/opto/arraycopynode.hpp 2017-05-16 14:14:41.496921919 +0200 +++ new/src/share/vm/opto/arraycopynode.hpp 2017-05-16 14:14:36.939901330 +0200 @@ -167,7 +167,8 @@ bool has_negative_length_guard() const { return _has_negative_length_guard; } static bool may_modify(const TypeOopPtr *t_oop, MemBarNode* mb, PhaseTransform *phase, ArrayCopyNode*& ac); - bool modifies(intptr_t offset_lo, intptr_t offset_hi, PhaseTransform* phase, bool must_modify); + bool modifies(intptr_t offset_lo, intptr_t offset_hi, PhaseTransform* phase, bool must_modify) const; + bool can_replace_dest_load_with_src_load(intptr_t offset_lo, intptr_t offset_hi, PhaseTransform* phase) const; #ifndef PRODUCT virtual void dump_spec(outputStream *st) const;