RFR (XS) 8245757: Shenandoah: AlwaysPreTouch should not disable heap resizing or uncommits
rkennke at redhat.com
Mon May 25 20:25:27 UTC 2020
Alright, looks good!
On Mon, 2020-05-25 at 21:28 +0200, Aleksey Shipilev wrote:
> At present, enabling -XX:+AlwaysPreTouch implicitly disables uncommit
> and sets the heap size to Xmx.
> This is not coherent with the rest of OpenJDK garbage collectors that
> only pretouch when the actual
> commit happens. Shenandoah should do the same. It would still be
> recommended to set -Xmx == -Xms for
> AlwaysPreTouch to work without excess latencies.
> Testing: hotspot_gc_shenandoah; ad-hoc perf runs
More information about the hotspot-gc-dev