Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
5902:c7987cbaf2ca | 5903:da4be62fb889 |
---|---|
754 size_t os::Linux::default_guard_size(os::ThreadType thr_type) { | 754 size_t os::Linux::default_guard_size(os::ThreadType thr_type) { |
755 // Creating guard page is very expensive. Java thread has HotSpot | 755 // Creating guard page is very expensive. Java thread has HotSpot |
756 // guard page, only enable glibc guard page for non-Java threads. | 756 // guard page, only enable glibc guard page for non-Java threads. |
757 return (thr_type == java_thread ? 0 : page_size()); | 757 return (thr_type == java_thread ? 0 : page_size()); |
758 } | 758 } |
759 | |
760 #ifndef PRODUCT | |
761 void os::verify_stack_alignment() { | |
762 } | |
763 #endif |