RFR: relax pattern matching for CAS on aarch64

Aleksey Shipilev shade at redhat.com
Fri Oct 13 13:21:58 UTC 2017


On 10/13/2017 03:19 PM, Roland Westrelin wrote:
> 
>> How about this?
>>   http://cr.openjdk.java.net/~shade/shenandoah/cas-pattern-matching/webrev.01/
> 
> Ok. But
> 
> 2005     if (st && (!mm || (UseShenandoahGC && !mm2))) {
> 2006       return NULL;
> 2007     }
> 
> should be:
> 
> if (st && (!mm || (UseShenandoahGC && mm2))) {
>   return NULL;
> }

I am probably misreading the original condition. I thought it was "if store is present, and either
of merges is missing, we mismatch". Your call!

-Aleksey



More information about the shenandoah-dev mailing list