RFR: AArch64 -- patch to make volatile reads and stores use ldar/stlr (original) (raw)

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Apr 21 18🔞22 UTC 2015


There is also a pending idea for x86: try to replace volatile stores with "xchg", instead of "mov + lock addl". It would be nice to make sure the way AArch64 does the replacement would help the future x86 code.

Thanks, -Aleksey

On 21.04.2015 20:03, Vladimir Kozlov wrote:

Would it help if we add a new flag to NodeFlags to indicate volatile memory node?

Vladimir On 4/21/15 6:43 AM, Andrew Dinn wrote: On 21/04/15 13:53, Andrew Haley wrote:

On 04/20/2015 10:03 AM, Andrew Dinn wrote:

The following webrev is submitted for review (n.b. I am not an OpenJDK committer so the patch does not yet have an associated JIRA).

The patch looks good to me. https://bugs.openjdk.java.net/browse/JDK-8078263 A new webrev with the commit in standard format (listing JIRA#, sumamry and reviewer) and placed at: http://cr.openjdk.java.net/~adinn/8078263/webrev.01/ regards, Andrew Dinn -----------



More information about the hotspot-dev mailing list