RFR: 8262896: [macos_aarch64] Crash in jni_fast_GetLongField

Vladimir Kempik vkempik at openjdk.java.net
Tue Apr 13 13:02:09 UTC 2021


On Tue, 13 Apr 2021 12:11:55 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Why not? As far as I can see, the "Allow Unsigned Executable Memory" Hardened Runtime capability allows exactly this. Maybe it'd stop OpenJDK being notarized, but Apple doen't say so.

AFAIR, this entitlement https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-unsigned-executable-memory is not available on macos_arm64

this entitlement allows you to allocate rwx memory on macos_intel, but on macos_arm64 kernel forbids to allocate rwx memory(withotu MAP_JIT) no matter what.

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

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


More information about the hotspot-dev mailing list