我有Arch,它安装了安装了paxd的最新版本的4.9.xLinux内核。但是,由于这个原因,当我试图运行Java时,我得到了以下错误:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000035ea1000000
考虑以下代码片段:#include <unistd.h>#include <fcntl.h>
int numberOfWords = 4096; // chosen to be smaller than file size
int* data = mmap( NULL, nomberOfWords * sizeof(int