RFR(M): 8080289: Intermediate writes in a loop not eliminated by optimizer
roland.westrelin at oracle.com
Tue Jun 23 10:50:12 UTC 2015
>> What about
>> volatile int y;
>> volatile int x;
>> transformed to:
> I think this is not allowed, since operations over "x" get tied up in
> the synchronization order.
Thanks. Then for support_IRIW_for_not_multiple_copy_atomic_cpu true, I don’t see how incorrect reordering is prevented.
More information about the hotspot-compiler-dev