[9] RFR(S): 8036851: volatile double accesses are not explicitly atomic in C2
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri May 2 15:17:18 UTC 2014
On 05/02/2014 07:09 PM, Tobias Hartmann wrote:
> On 05/02/2014 03:53 PM, Aleksey Shipilev wrote:
>> I remember seeing places in C1 where we special-case T_LONG, so we
>> probably need an additional work to fix it there as well. See e.g.
>> LIRGenerator::volatile_field_store.
>
> But the implementation of LIRGenerator::volatile_field_store is
> architecture specific so it should be fine to special-case T_LONG on x86
> because all other accesses are guaranteed to be atomic. Or am I missing
> something here?
Right. This is for x86, so no problem there.
-Aleksey.
More information about the hotspot-compiler-dev
mailing list