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

Magnus Ihse Bursie ihse at openjdk.java.net
Fri Feb 5 10:00:50 UTC 2021


On Fri, 5 Feb 2021 09:49:11 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> I reviewed bsd_aarch64.cpp digging bit deeper and left some comments.
>
>> > Umm, so how does patching work? We don't even know if other threads are executing the code we need to patch.
>> 
>> I thought java can handle that scenario in usual (non W^X systems) just fine, so we just believe jvm did everything right and it's safe to rewrite some code at specific moment.
> 
> Got it, OK.

> This doesn't seem to be an issue anymore, After P.Race have finished with JDK-8257852, Macarm port can be build without extra ld flags.

@VladimirKempik I agree. That concludes the build issues with this PR. So from a build perspective, this is now good to go.

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

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


More information about the security-dev mailing list