On Fri, 12 Feb 2021 12:22:44 GMT, Vladimir Kempik <vkem...@openjdk.org> wrote:

>> src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp line 435:
>> 
>>> 433: //    |                        |\  Java thread created by VM does not 
>>> have glibc
>>> 434: //    |    glibc guard page    | - guard, attached Java thread usually 
>>> has
>>> 435: //    |                        |/  1 glibc guard page.
>> 
>> Is this code going to be built by GCC (with glibc) or will only
>> macOS compilers and libraries be used?
>
> only macos comiplers

The comment is also wrong for glibc: The AArch64 ABI requires a 64 KiB guard 
region independently of page size, otherwise `-fstack-clash-protection` is not 
reliable.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2200

Reply via email to