After JEP-391 was integrated, the appcds was left disabled by default on macos_aarch64 platform.
This happened because of one issue with implementation of appcds on macos_aarch64:
appcds needs to be able to allocate RWX memory at specific address. And on macos_aarch64 one can't use both flags MAP_FIXED and MAP_JIT for mmap call, it's forbidden by the platform.
Some workaround for the issue is needed
Update: it seems the support can be enabled back afterJDK-8263002
This happened because of one issue with implementation of appcds on macos_aarch64:
appcds needs to be able to allocate RWX memory at specific address. And on macos_aarch64 one can't use both flags MAP_FIXED and MAP_JIT for mmap call, it's forbidden by the platform.
Some workaround for the issue is needed
Update: it seems the support can be enabled back after
- relates to
-
JDK-8262894 [macos_aarch64] SIGBUS in Assembler::ld_st2
- Resolved
-
JDK-8263002 Remove CDS MiscCode region
- Resolved
-
JDK-8251280 JEP 391: macOS/AArch64 Port
- Closed