Closed zl-wang closed 2 years ago
JVM on Linux reads /proc/meminfo
file and search for HugePages_Total:
, HugePages_Free:
,Hugepagesize:
.
In order for Huge Pages to be enabled Hugepagesize:
and HugePages_Total:
should be larger than zero both.
@zl-wang Would you please check this file?
ah, the total is 0, size is 2048k. so, the verbose listing has different meaning between (e.g.) AIX and Linux.
On AIX, i saw listing below: (although total pages of 16m/16g are 0 too)
-Xlp:objectheap:pagesize=64K large page size
available large page sizes:
4K
64K
16M
16G
-Xlp:codecache:pagesize=64K large page size for JIT code cache
available large page sizes for JIT code cache:
64K
16M
with the latest JDK on ppc64le ... java -verbose:sizes -version
at least, another 2MB pagesize is supported (pages of that size might not be configured yet). something seemed wrong.