mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
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:
parent
9c6ab6372f
commit
4012f6cd34
17 changed files with 124 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue