Presentation: Understanding OrderAccess

Andrew Haley aph at
Wed Nov 23 10:40:49 UTC 2016

On 23/11/16 05:08, David Holmes wrote:
> This is a presentation I recently gave internally to the runtime and 
> serviceability teams that may be of more general interest to hotspot 
> developers.

That's pretty cool; nicely done.

I'd quibble about a couple of minor things:

In Data Race Example: Using Barriers, the use of a naked StoreStore is
rather terrifying.  In real-world code it'd be better to use
StoreStore|LoadStore or release unless the author really knows what
they're doing.

The use of "fence" to mean a full barrier is rather idiosyncratic; it
confused me the first time I saw it in HotSpot source, and from time
to time it still does.

But, as I said, these are minor criticisms.


More information about the hotspot-dev mailing list