RFR: 8214128: arm32: not aligned SP on entry call

Boris Ulasevich boris.ulasevich at bell-sw.com
Thu Nov 29 13:43:05 UTC 2018

Hi all,

Please review arm32 stack alignment fix.


On arm32 native call with unaligned stack (SP register) does not crash 
immediately, but causes problems far from the point of the entry point. 
In the particular case the problem is in printf malfunction far below on 
the C call stack.

call() was changed to call_VM_leaf() variant because the latter one 
aligns SP. Save_last_java_pc parameter in set_last_Java_frame() was set 
to true to help vframe unpacker to find CodeBlob.

Tested with jtreg :tier1.


More information about the hotspot-compiler-dev mailing list