missing memory barrier in acmp with C2

Roland Westrelin rwestrel at redhat.com
Wed Oct 26 11:24:06 UTC 2016


http://cr.openjdk.java.net/~roland/shenandoah/membar-acmp/webrev.00/

The code generated for acmp is missing a memory barrier.

Should it be a loadstore + loadload as in
ShenandoahBarrierSet::asm_acmp_barrier() on aarch64 or simply a
loadload?

Roland.


More information about the shenandoah-dev mailing list