Request for reviews (S): 7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API

Tom Rodriguez tom.rodriguez at oracle.com
Tue Jan 18 15:40:47 PST 2011


On Jan 18, 2011, at 3:38 PM, Tom Rodriguez wrote:

> Thanks Dan and Vladimir.

Oops, wrong thread.

> 
> tom
> 
> On Jan 18, 2011, at 3:19 PM, Vladimir Kozlov wrote:
> 
>> http://cr.openjdk.java.net/~kvn/7012965/webrev
>> 
>> Fixed 7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API
>> 
>> In 32 bit VM C++ generated code does not guaranty atomicity for volatile long moves.
>> 
>> Use LDX/STX on v9 and LDD/STD on v8 sparc for volatile long moves.

What does the .volatile directive do?  Is that supported in older sparc assemblers?  Otherwise it looks ok.

tom


More information about the hotspot-compiler-dev mailing list