Support for SoftMaxHeapSize?
Florian Weimer
fweimer at redhat.com
Fri Aug 28 10:57:41 UTC 2020
* Holger Hoffstätte:
> I've been playing with setting SoftMaxHeapSize for ZGC in order to
> limit its somewhat eager hunger for heap, and it does a really great
> job while still allowing heap expansion for bursty LDS. Would this
> make sense for Shenandoah as well? Compact mode does a great job
> already, but IMHO some conceptual feature parity wouldn't hurt. Only
> if it's possible and not too much work, obviously. :)
I think you can get a similar effect by aggressively increasing
-XX:ShenandoahMinFreeThreshold. It's measured in percent of the heap
size, and it's kind of reversed for this purpose, but in my little
experiments, it did work.
Thanks,
Florian
More information about the shenandoah-dev
mailing list