RFR (XS): 8213927: G1 ignores AlwaysPreTouch when UseTransparentHugePages is enabled

Aleksey Shipilev shade at redhat.com
Thu Nov 15 15:27:49 UTC 2018

On 11/15/2018 04:20 PM, Thomas Schatzl wrote:
> Hi all,
>   can I have reviews for this small fix that changes the page size to
> use when pretouching if UseTransparentHugePages is enabled on the
> command line?
> The problem is that previously, with UseTransparentHugePages, G1 used
> large page increments for pretouching, but since these huge pages are
> "transparent" except for commit purposes (in the VM), we need to
> pretouch on a small page size in this case.
> This change just implements that.
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8213927
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8213927/webrev/

Ugh. Looks good.

/me goes to fix the same in Shenandoah


-------------- 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/20181115/ece453e4/signature.asc>

More information about the hotspot-gc-dev mailing list