mirror of
https://abf.rosa.ru/djam/java-11-openjdk.git
synced 2025-02-23 13:32:53 +00:00
12 lines
575 B
Diff
12 lines
575 B
Diff
diff -urN openjdk/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp openjdk-diff/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp
|
|
--- openjdk/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2020-06-10 19:44:52.000000000 +0000
|
|
+++ openjdk-diff/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2020-07-12 21:26:42.912877532 +0000
|
|
@@ -825,7 +825,7 @@
|
|
|
|
#ifndef PRODUCT
|
|
void os::verify_stack_alignment() {
|
|
-#ifdef AMD64
|
|
+#if defined(AMD64) && ! defined(__clang__)
|
|
assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment");
|
|
#endif
|
|
}
|