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

Vladimir Kempik vkempik at openjdk.java.net
Tue Nov 2 18:17:29 UTC 2021


Please review this backport of JDK-8234930 to jdk11u-dev.
This is a prerequest for mac-aarch64
It's not applying clean due to the miss of these two patches
JDK-8253639: Change os::attempt_reserve_memory_at parameter order
JDK-8253650: Cleanup: remove alignment_hint parameter from os::reserve_memory
But they aren't critical and the patch can easily be modified

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

Depends on: https://git.openjdk.java.net/jdk11u-dev/pull/578

Commit messages:
 - 8234930: Use MAP_JIT when allocating pages for code cache on macOS

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/580/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=580&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8234930
  Stats: 88 lines in 11 files changed: 26 ins; 0 del; 62 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/580.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/580/head:pull/580

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


More information about the jdk-updates-dev mailing list