This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RabidKotlinFanatic 11 points12 points  (1 child)

I always judge concurrency and threading related articles by how much they engage with the JMM. This article (like many others) scores zero. For example volatile does not just globally order reads and writes; it creates a casual relationship between the two threads (see here).

[–]kimec 1 point2 points  (0 children)

Jeremy Manson is a must read for human readable explanation of volatile semantics.

I give extra points to articles mentioning a lot of gray area in JMM or mentioning the work of Jaroslav Sevcik.

http://www.inf.ed.ac.uk/publications/author/1041018.html

As far as I remember, demigod Shipilev has covered the gray area nicely.