[concurrency-interest] Java Memory Model and ParallelStream

Florian Weimer fw at deneb.enyo.de
Fri Mar 6 09:59:14 EST 2020


* Doug Lea via Concurrency-interest:

> On 3/6/20 9:35 AM, Luke Hutchison via Concurrency-interest wrote:
>
>> If the CPU does not have a total store order, I could imagine cases
>> where a computational barrier does not enforce memory ordering. What am
>> I missing?
>
> You are missing us not having our act together and turning the guide at
> http://gee.cs.oswego.edu/dl/html/j9mm.html along with most of a
> formalization at http://compilers.cs.ucla.edu/papers/jam/ into a spec
> update. Any year now...

And please specify it at the JVM level this time, not at the Java
language leve. 8-)


More information about the Concurrency-interest mailing list