RFR: 8262896: [macos_aarch64] Crash in jni_fast_GetLongField

Andrew Haley aph at openjdk.java.net
Tue Apr 13 15:10:16 UTC 2021


On Tue, 13 Apr 2021 12:59:02 GMT, Vladimir Kempik <vkempik 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.

Fair enough.

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

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


More information about the hotspot-dev mailing list