[concurrency-interest] RFR: 8065804: JEP 171: Clarifications/corrections for fence intrinsics

Martin Buchholz martinrb at google.com
Tue Dec 9 17:06:24 UTC 2014


On Mon, Dec 8, 2014 at 8:51 PM, David Holmes <david.holmes at oracle.com> wrote:

> Then please point me to the common industry definition of it because I
> couldn't find anything definitive. And as you state yourself above one
> definition of it - the corresponding C11 fence - does not in fact have the
> same semantics!

I changed to the terminology "acquire fence" and "release fence" as
popularized by preshing
http://preshing.com/20130922/acquire-and-release-fences/

     * Ensures that loads and stores before the fence will not be reordered with
     * stores after the fence; also referred to as a StoreStore plus LoadStore
     * barrier, or as a "release fence".



More information about the core-libs-dev mailing list