Request for reviews (S): 7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API
vladimir.kozlov at oracle.com
Tue Jan 18 15:48:25 PST 2011
Tom Rodriguez wrote:
> What does the .volatile directive do? Is that supported in older sparc assemblers? Otherwise it looks ok.
".volatile - Defines the beginning of a block of instruction. The instructions in the section may not be changed. The block of instruction should end at a .nonvolatile pseudo-op and should not contain any Control Transfer Instructions (CTI) or labels."
".nonvolatile - Defines the end of a block of instruction. The instructions in the block may not be permuted."
All other methods in this file have these directives for long time so I copied it to be consistent.
This code will be backported only into JDK6 where we had these directives already.
More information about the hotspot-compiler-dev