RFR: 8065804: JEP 171: Clarifications/corrections for fence intrinsics

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Nov 24 21:29:40 UTC 2014


Hi Martin,

On 11/24/2014 11:56 PM, Martin Buchholz wrote:
> Review carefully - I am trying to learn about fences by explaining them!
> I have borrowed some wording from my reviewers!
> 
> https://bugs.openjdk.java.net/browse/JDK-8065804
> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/fence-intrinsics/

I think "implies the effect of C++11" is too strong wording. "related"
might be more appropriate.

See also comments here for connection with "volatiles":
 https://bugs.openjdk.java.net/browse/JDK-8038978

Take note the Hans' correction that fences generally imply more than
volatile load/store, but since you are listing the related things in the
docs, I think the "native" Java example is good to have.

-Aleksey.





More information about the core-libs-dev mailing list