Parallel AlwaysPreTouch

Alen Vrečko alen.vrecko at gmail.com
Sun Dec 1 22:54:16 UTC 2019


Awesome! Thank you for the great work with ZGC!

I am used of seeing commits linked with Jira issues. Got confused. Never
mind. All good.

Cheers
Alen

On Sun, 1 Dec 2019 at 22:30, Per Liden <per.liden at oracle.com> wrote:

>
>
> On 2019-12-01 22:06, Thomas Schatzl wrote:
> > Hi,
> >
> > On Sun, 2019-12-01 at 22:03 +0100, Alen Vrečko wrote:
> >> Hello, everyone.
> >>
> >> Looking at the code. It looks like ZGC uses a single threaded
> >> PreTouch. Both the G1 and Shenandoah use a parallel PreTouch.
> >>
> >> Any plans to make ZGC PreTouch parallel? Apologies if I missed
> >> something in the code. But I am seeing G1 do the pretouch much faster
> >> than ZGC for the same heap size.
> >
> >    the change for this (https://bugs.openjdk.java.net/browse/JDK-8234543
> > ) is currently in review.
>
> And here's the review thread, with the patch:
>
>
> http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-November/027885.html
>
> I've been holding off pushing this to avoid conflicts with the Windows
> port. We expect to push both within the next few days.
>
> cheers,
> Per
>


More information about the zgc-dev mailing list