RFR(S): 8036851: volatile double accesses are not explicitly atomic in C2
Tobias.Hartmann at oracle.com
Fri May 2 12:15:39 UTC 2014
please review the following patch for bug 8036851.
Volatile double accesses are not treated different from normal accesses
in the C2 compiler with respect to atomicity because on x86 and sparc
double accesses were always atomic. However, this may not be case on
other architectures. On an architecture where there are atomic and
non-atomic double accesses, we would have to implement all accesses to
be atomic, because the C2 compiler does not distinguish between the two
The C2 structure is adapted to distinguish between volatile and
non-volatile double accesses.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev