[jdk11u-dev] RFR: 8234930: Use MAP_JIT when allocating pages for code cache on macOS

Vladimir Kempik vkempik at openjdk.java.net
Thu Dec 9 09:29:04 UTC 2021


On Thu, 9 Dec 2021 06:38:14 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 2. Please, instead of adding "exec" to every version of pd_commit/uncommit, only add it for MacOS like this:
>
> ```
> pd_uncommit_memory(char* addr, size_t bytes MACOS_ONLY(, bool exec));
> pd_commit_memory(char* addr, size_t bytes MACOS_ONLY(, bool exec));
> ```
>
> and do the same with the two places where this parameter actually matters on invocation (os.cpp and VirtualSpace).
>
> Thanks, Thomas

Hello Thomas, that plan doesn't seem to work

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/710



More information about the jdk-updates-dev mailing list