Parallel AlwaysPreTouch
Per Liden
per.liden at oracle.com
Sun Dec 1 21:30:06 UTC 2019
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