hotspot/src/share/vm/opto/macroArrayCopy.cpp
changeset 46620 750c6edff33b
parent 45427 64e07017ce01
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/opto/macroArrayCopy.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/share/vm/opto/macroArrayCopy.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -788,7 +788,7 @@
   intptr_t end_con   = _igvn.find_intptr_t_con(dest_size, -1);
   if (slice_idx_con >= 0 && slice_len_con >= 0) {
     assert(end_con < 0, "not two cons");
-    end_con = round_to(abase + ((slice_idx_con + slice_len_con) << scale),
+    end_con = align_up(abase + ((slice_idx_con + slice_len_con) << scale),
                        BytesPerLong);
   }