--- old/src/hotspot/share/opto/memnode.cpp 2019-03-14 11:00:28.066332361 +0530 +++ new/src/hotspot/share/opto/memnode.cpp 2019-03-14 11:00:27.750332357 +0530 @@ -3541,7 +3541,7 @@ // within the initialized memory. intptr_t InitializeNode::can_capture_store(StoreNode* st, PhaseTransform* phase, bool can_reshape) { const int FAIL = 0; - if (st->is_unaligned_access()) { + if (st->is_unaligned_access() || ((get_store_offset(st, phase) % BytesPerInt) != 0)) { return FAIL; } if (st->req() != MemNode::ValueIn + 1)