RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

Florian Weimer fweimer at openjdk.java.net
Fri Feb 12 12:42:48 UTC 2021


On Fri, 12 Feb 2021 12:22:44 GMT, Vladimir Kempik <vkempik at 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



More information about the security-dev mailing list