Support for SoftMaxHeapSize?
Aleksey Shipilev
shade at redhat.com
Tue Sep 1 14:32:41 UTC 2020
On 8/28/20 12:41 PM, Holger Hoffstätte wrote:
> 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. :)
It does not seem to be much work, as we need to do two things: make heuristics target the soft-max
and teach uncommit code to favor new target when it changes.
Prototyping here:
https://bugs.openjdk.java.net/browse/JDK-8252660
--
Thanks,
-Aleksey
More information about the shenandoah-dev
mailing list