I understand the aim of SoftMaxHeapSize
, but I can't find what it really does. Hopefully someone familiar with JDK internals can shed some light.
Specifically, when the soft limit is reached:
- Does it simply change
ZCollectionInterval
andZUncommitDelay
? To what values? - Or does it do something else?
- How much additional CPU overhead can I expect?
Finally, will an application work fine if I do something like -XX:SoftMaxHeapSize=1M -Xmx=1T
?