Proposal: On Linux, add option to periodically trim the glibc heap
Aleksey Shipilev
shade at redhat.com
Fri Aug 27 11:31:51 UTC 2021
On 8/27/21 1:20 PM, Remi Forax wrote:
>> Obviously that doesn't cover all the cases you are describing, but does cover
>> what seems like an important one. And this seems like it should be fairly easy.
>
> Yes, and Shenandoah and ZGC are also able to uncommit unused Memory.
+1, I think it would be sensible to shrink the C heap during periodic/explicit GCs. This also reuses
the existing GC timing/logging/tuning facilities.
--
Thanks,
-Aleksey
More information about the hotspot-dev
mailing list