[concurrency-interest] RFR: 8065804: JEP 171: Clarifications/corrections for fence intrinsics
aph at redhat.com
Tue Nov 25 21:41:46 UTC 2014
On 11/24/2014 08:56 PM, Martin Buchholz wrote:
> Hi folks,
> Review carefully - I am trying to learn about fences by explaining them!
> I have borrowed some wording from my reviewers!
+ * Currently hotspot's implementation of a Java language-level volatile
+ * store has the same effect as a storeFence followed by a relaxed store,
+ * although that may be a little stronger than needed.
While this may be true today, I'm hopefully about to commit an
AArch64 OpenJDK port that uses the ARMv8 stlr instruction. I
don't think that what you've written here is terribly misleading,
but bear in mind that it may be there for some time.
More information about the core-libs-dev