Presentation: Understanding OrderAccess

Andrew Haley aph at
Mon Nov 28 10:50:55 UTC 2016

On 28/11/16 06:08, David Holmes wrote:
> On 23/11/2016 8:40 PM, Andrew Haley wrote:
>> On 23/11/16 05:08, David Holmes wrote:
>> 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.
> It would all depend on the exact code of course. The simple flag+data 
> example doesn't require it.

Ya, but it's a rare case: it's a bit like teaching someone to use
a chainsaw before they've learned to use a knife and fork.  :-)


More information about the hotspot-dev mailing list