7147740: add assertions to check stack alignment on VM entry from generated code (x64)

Check stack alignment on VM entry on x64.

Reviewed-by: kvn, never
This commit is contained in:
Roland Westrelin 2012-02-27 09:17:44 +01:00
parent 9c6ab6372f
commit 4012f6cd34
17 changed files with 124 additions and 19 deletions

View file

@ -756,3 +756,8 @@ size_t os::Linux::default_guard_size(os::ThreadType thr_type) {
// 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