RFR(S): 7147740: add assertions to check stack alignment on VM entry from generated code (x64)
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Feb 23 09:12:41 PST 2012
I asked about all x86 platforms. Why do you think it is not 16 bytes in 32bit VM. Looking on x86_32.ad we do align to
StackAlignmentInBytes.
Vladimir
On 2/23/12 8:11 AM, Roland Westrelin wrote:
>> Why did you put the assert under #ifdef AMD64? You have current_stack_pointer defined for 32bit.
>
> It's under #ifdef AMD64 on all platforms. Is your question about windows or all platforms?
> StackAlignmentInBytes is always 16 but on 32 bit the stack alignment is not 16 bytes so the assert would fire even when
> things are ok. Also it's much less likely that stack alignment is a problem on 32 bit except maybe with recent version
> of gcc for which the stack alignment has apparently become 16 bytes.
>
> Roland.
More information about the hotspot-compiler-dev
mailing list