diff -r a3919f5e8d2b -r 750c6edff33b hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp --- a/hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp Tue Jul 04 15:58:10 2017 +0200 +++ b/hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp Thu Apr 13 09:57:51 2017 +0200 @@ -251,7 +251,7 @@ // SP -> --------------- // int i; - int sp_offset = round_to(frame::register_save_words, 2); // start doubleword aligned + int sp_offset = align_up((int)frame::register_save_words, 2); // start doubleword aligned // only G int registers are saved explicitly; others are found in register windows for (i = 0; i < FrameMap::nof_cpu_regs; i++) {