Is this a bug in the C2 matcher code?

Andrew Dinn adinn at
Thu Aug 10 14:53:49 UTC 2017

On 10/08/17 15:33, Andrew Haley wrote:
> if (!Matcher::match_rule_supported(Op_WeakCompareAndSwapL)) return false;

Yes, it is. Nice catch.

Although, it seems to have been innocuous since every platform that has
Op_WeakCompareAndSwapI also has Op_WeakCompareAndSwapL (I checked
aarch64, x86_32/64, sparc and ppc).


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the hotspot-compiler-dev mailing list