Mercurial > hg > truffle
diff src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp @ 5903:da4be62fb889
7147740: add assertions to check stack alignment on VM entry from generated code (x64)
Summary: check stack alignment on VM entry on x64.
Reviewed-by: kvn, never
author | roland |
---|---|
date | Mon, 27 Feb 2012 09:17:44 +0100 |
parents | 1d1603768966 |
children | 716e6ef4482a |
line wrap: on
line diff
--- a/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp Fri Feb 24 12:33:31 2012 -0800 +++ b/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp Mon Feb 27 09:17:44 2012 +0100 @@ -756,3 +756,8 @@ // guard page, only enable glibc guard page for non-Java threads. return (thr_type == java_thread ? 0 : page_size()); } + +#ifndef PRODUCT +void os::verify_stack_alignment() { +} +#endif