RFR (M): 8212657: Implementation of JDK-8204089 Timely Reduce Unused Committed Memory

Aleksey Shipilev shade at redhat.com
Wed Nov 14 11:17:22 UTC 2018

On 11/14/2018 12:07 PM, Thomas Schatzl wrote:
>> In terms of the AlwaysPreTouch, I am considering that these are the
>> settings used where people who cares about low latency would use, and
>> these would indicated that the VM should really stop doing things
>> that would cause unintended GC cycle.
> I need to think about this, and I am open to suggestions from others.
> This exception as any other seems to make the explanation when it
> happens rather complicated. Disabling it by default may be the better
> solution.

FWIW, Shenandoah treats -XX:+AlwaysPreTouch as "make sure all heap is committed at all times", and
disables any uncommit, keeping heap always wired up.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20181114/c2df2a11/signature-0001.asc>

More information about the hotspot-gc-dev mailing list