<div dir="ltr">Hello,<br><br>saw this write up <a href="https://malloc.se/blog/zgc-softmaxheapsize">https://malloc.se/blog/zgc-softmaxheapsize</a>. I have a question regarding AlwaysPreTouch. I could have missed it in the documentation and write up. But I am wondering:<br><br>Doing -XX:SoftMaxHeapSize=2G -Xmx5G -XX:+AlwaysPreTouch<div><br></div>will this first commit 5G of native memory on start and then ZGC will ZUncommit 3G? Alternative is to only pretouch up to 2G?<div><br></div>With -XX:SoftMaxHeapSize=2G -Xmx5G -XX:+AlwaysPreTouch -XX:-ZUncommit does this mean the heap will take 5G of native memory from the start and stay that way?<div><div><br></div><div>Thanks</div><div>Alen</div></div></div>