RFR(S): 8172145: C2: anti dependence missed because store hidden by membar

Andrew Haley aph at redhat.com
Fri Dec 30 15:34:26 UTC 2016


On 30/12/16 13:29, Doerr, Martin wrote:
> we found a C2 Compiler bug which leads to incorrect reordering of
> memory accesses on PPC64 due to missing anti-dependency. Details are
> described here: https://bugs.openjdk.java.net/browse/JDK-8172145

Another missing anti-dependency!

> The issue can be fixed by this webrev:
> http://cr.openjdk.java.net/~mdoerr/8172145_C2_antidep/webrev.00/

Wouldn't it make more sense to calculate is_Mach_MemBarVolatile lazily?


More information about the hotspot-compiler-dev mailing list