hotspot/src/share/vm/opto/chaitin.cpp
changeset 46620 750c6edff33b
parent 46378 4ccca1fdf627
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/opto/chaitin.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/share/vm/opto/chaitin.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -607,7 +607,7 @@
   assert((int)(_matcher._new_SP+_framesize) >= (int)_matcher._out_arg_limit, "framesize must be large enough");
 
   // This frame must preserve the required fp alignment
-  _framesize = round_to(_framesize, Matcher::stack_alignment_in_slots());
+  _framesize = align_up(_framesize, Matcher::stack_alignment_in_slots());
   assert(_framesize <= 1000000, "sanity check");
 #ifndef PRODUCT
   _total_framesize += _framesize;