ZGC - Using -XX:SoftMaxHeapSize


In JDK 13 we introduced a new JVM option called -XX:SoftMaxHeapSize=. ZGC is so far the only garbage collector in HotSpot that supports this options, but work to also support it in G1 is ongoing. Since this option is relatively new, and perhaps not yet widely known, I thought I’d write a few words about when and how to use it…

More at https://malloc.se/blog/zgc-softmaxheapsize