We already turn adaptive resizing off (UseAdaptiveNUMAChunkSizing and UseAdaptiveSizePolicy) when using SHM-based large pages because these don't support uncommiting. However that is not enough - during the initialization we still do it once, which on linux leads to mmaping over the eden portion of the SHM segment. By doing this we loose large pages support and also increase memory requirements.
|