--- old/src/hotspot/os/linux/osContainer_linux.cpp 2018-01-05 16:29:13.157430486 -0500 +++ new/src/hotspot/os/linux/osContainer_linux.cpp 2018-01-05 16:29:12.945425801 -0500 @@ -32,10 +32,11 @@ #include "osContainer_linux.hpp" /* - * Warning: Some linux distros use 0x7FFFFFFFFFFFF000 + * Warning: Some linux distros use 0x7FFFFFFFFFFFF000 (4k pages), + * others use 0x7FFFFFFFFFFF0000 (64k pages), * and others use 0x7FFFFFFFFFFFFFFF for unlimited. */ -#define UNLIMITED_MEM CONST64(0x7FFFFFFFFFFFF000) +#define UNLIMITED_MEM CONST64(0x7FFFFFFFFFFF0000) #define PER_CPU_SHARES 1024