Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable write permission before writing into CodeCache segment
`allocateVirtualMemorySegmentInListInternal` has been changed to write NULL into the code cache segment in eclipse-openj9#18212. The change does not include `omrthread_jit_write_protect_disable` and `omrthread_jit_write_protect_enable` calls before and after writing to the memory, which results in the crash on Apple Silicon Mac. This commit inserts `omrthread_jit_write_protect_disable` and `omrthread_jit_write_protect_enable` appropriately. Signed-off-by: Akira Saitoh <[email protected]>
- Loading branch information