[jmm-dev] Will the real memory read barrier please stand up?
Doug Lea
dl at cs.oswego.edu
Mon Nov 24 16:00:53 UTC 2014
[Trimming off unneeded CCs, but since Aleksey's attempt to trim lists
didn't work, keeping both.]
On 11/24/2014 10:21 AM, Stephan Diestelhorst wrote:
> On Sunday 23 November 2014 23:58:50 Doug Lea wrote:
>> This is a [LoadLoad|LoadStore] fence, also known as
>> a "load acquire" fence, which is sometimes (including
>> inside hotspot) just called a "load fence" because it is the
>> only kind of Load* fence that is ever wanted.
>
> Doug, you are the second person to say that. Is that just common wisdom
I guess you could call it common wisdom: I think that no current
language-level models have any cases of mappings requiring issue
of only one or the other, and no current processors have a fence
that provides LoadLoad but not LoadStore. (Although maybe some
pseudo-fences have this effect?)
-Doug
More information about the jmm-dev
mailing list