mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +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
|
@ -324,16 +324,6 @@ extern "C" void breakpoint() {
|
|||
os::breakpoint();
|
||||
}
|
||||
|
||||
// Returns an estimate of the current stack pointer. Result must be guaranteed
|
||||
// to point into the calling threads stack, and be no lower than the current
|
||||
// stack pointer.
|
||||
|
||||
address os::current_stack_pointer() {
|
||||
int dummy;
|
||||
address sp = (address)&dummy;
|
||||
return sp;
|
||||
}
|
||||
|
||||
// os::current_stack_base()
|
||||
//
|
||||
// Returns the base of the stack, which is the stack's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue