-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 14, 17
-
b02
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281011 | 11.0.16-oracle | Fairoz Matte | P4 | Resolved | Fixed | b01 |
JDK-8278594 | 11.0.15 | Vladimir Kempik | P4 | Resolved | Fixed | b01 |
JDK-8287351 | 8u351 | Fairoz Matte | P4 | Resolved | Fixed | b01 |
On macOS MAP_JIT cannot be used in conjunction with MAP_FIXED when mapping
a page for codecache. Therefore our traditional technique of doing commit
and uncommit - replacing a mapping with another one at the same address
range but swapped MAP_NORESERVE - does not work.
The "exec" flag basically means "its code cache" and it should be used
consistently for the same mapping (reserve-commit-uncommit etc)
This affects pd_reserve_memory, pd_commit_memory, pd_uncommit_memory functions
- backported by
-
JDK-8278594 Use MAP_JIT when allocating pages for code cache on macOS
-
- Resolved
-
-
JDK-8281011 Use MAP_JIT when allocating pages for code cache on macOS
-
- Resolved
-
-
JDK-8287351 Use MAP_JIT when allocating pages for code cache on macOS
-
- Resolved
-
- relates to
-
JDK-8266564 Does pd_map_memory() need MAP_JIT?
-
- Closed
-
-
JDK-8258438 build error in test/hotspot/gtest/runtime/test_os.cpp
-
- Resolved
-
-
JDK-8262952 [macos_aarch64] os::commit_memory failure
-
- Resolved
-
-
JDK-8253795 Implementation of JEP 391: macOS/AArch64 Port
-
- Resolved
-
-
JDK-8255254 Split os::reserve_memory and os::map_memory_to_file interfaces
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/b77a1657
-
Commit openjdk/jdk/2273f955
-
Review openjdk/jdk11u-dev/580
-
Review openjdk/jdk11u-dev/710
-
Review openjdk/jdk/294