RFR: Enable C2 loop strip mining by default

Per Liden per.liden at oracle.com
Thu Feb 15 11:56:03 UTC 2018


Hi Aleksey,

On 02/15/2018 11:17 AM, Aleksey Shipilev wrote:
> On 12/18/2017 03:39 PM, Per Liden wrote:
>> Hi,
>>
>> In ZGC we're following what G1 is doing here. G1 used to do what Shenandoah does, but Roland
>> changed[1] that. As far as I understand, the motivation was that just using
>> -XX:+UseCountedLoopSafepoints should actually disable strip mining, and instead provide the same
>> behavior as we had before we had strip mining.
>>
>> [1] http://hg.openjdk.java.net/jdk/hs/rev/4d28288c9f9e
> 
> Right! We are syncing up Shenandoah with upstream and want G1, ZGC and Shenandoah agree on defaults.
> Shenandoah is targeted to do what G1 is going to do as well.
> 
> Hey Per, was ZGC part ever committed?

I haven't pushed that yet. I noticed some stability issues with this 
enabled, so I'm holding off pushing this until it has matured a bit 
upstream. I think some strip mining related fixes has gone in upstream 
so it might be time to re-evaluate this.

cheers,
Per

> 
> Thanks,
> -Aleksey
> 


More information about the zgc-dev mailing list