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

Vladimir Kempik vkempik at openjdk.java.net
Fri Feb 12 12:25:47 UTC 2021


On Thu, 4 Feb 2021 22:54:42 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

>> src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp line 363:
>> 
>>> 361:     address pc = os::Posix::ucontext_get_pc(uc);
>>> 362: 
>>> 363:     if (pc != addr && uc->context_esr == 0x9200004F) { //TODO: figure out what this value means
>> 
>> Is this TODO going to be resolved by this port?
>
> Where did this come from - some snippet/example/tech note code? Maybe other people can help figure it out if we provide more info.

This is the version of w^x on-demand switch implemented by microsoft guys. This is enabled only for debug builds.
@lewurm could you comment here please

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

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



More information about the security-dev mailing list