< prev index next >

src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp

Print this page
8186780: clang-4.0 fastdebug assertion failure in os_linux_x86:os::verify_stack_alignment()
Contributed-by: <Arthur Eubanks> aeubanks@google.com, <Martin Buchholz> martinrb@google.com
Reviewed-by: TBD

*** 827,837 **** #endif // !AMD64 } #ifndef PRODUCT void os::verify_stack_alignment() { ! #ifdef AMD64 assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment"); #endif } #endif --- 827,839 ---- #endif // !AMD64 } #ifndef PRODUCT void os::verify_stack_alignment() { ! // os::current_stack_pointer() is not aligned when building with clang-4.0 ! // or later and optimization enabled ! #if defined(AMD64) && ! defined(__clang__) assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment"); #endif } #endif
< prev index next >