mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14: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
|
@ -436,6 +436,7 @@ class RuntimeHistogramElement : public HistogramElement {
|
|||
#define VM_LEAF_BASE(result_type, header) \
|
||||
TRACE_CALL(result_type, header) \
|
||||
debug_only(NoHandleMark __hm;) \
|
||||
os::verify_stack_alignment(); \
|
||||
/* begin of body */
|
||||
|
||||
|
||||
|
@ -445,6 +446,7 @@ class RuntimeHistogramElement : public HistogramElement {
|
|||
TRACE_CALL(result_type, header) \
|
||||
HandleMarkCleaner __hm(thread); \
|
||||
Thread* THREAD = thread; \
|
||||
os::verify_stack_alignment(); \
|
||||
/* begin of body */
|
||||
|
||||
|
||||
|
@ -454,6 +456,7 @@ class RuntimeHistogramElement : public HistogramElement {
|
|||
TRACE_CALL(result_type, header) \
|
||||
debug_only(NoHandleMark __hm;) \
|
||||
Thread* THREAD = thread; \
|
||||
os::verify_stack_alignment(); \
|
||||
/* begin of body */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue