[concurrency-interest] [Javamemorymodel-discussion]Fences.keepAlive

Mallikarjunaiah, Praveena mallikap at deshaw.com
Wed Jan 21 08:53:13 EST 2009


Hi,

There is a typo in the example of WidgetHolder.

Fences.preStoreFence(this);  // "this" should be replaced with h.widget.

-Praveen 

-----Original Message-----
From: concurrency-interest-bounces at cs.oswego.edu
[mailto:concurrency-interest-bounces at cs.oswego.edu] On Behalf Of Doug
Lea
Sent: Wednesday, January 21, 2009 7:11 PM
To: Boehm, Hans
Cc: Concurrency-interest at cs.oswego.edu;
javamemorymodel-discussion at cs.umd.edu
Subject: Re: [concurrency-interest]
[Javamemorymodel-discussion]Fences.keepAlive

Boehm, Hans wrote:
> I'd be inclined to somewhat simplify the example, and not use the
> constructor.  I'm also not sure I'd mention the word "native", since
that
> seems to mislead people to believe that this is a native code issue.

Thanks! Added with a few minor edits.

Plus a few other minor edits elsewhere.

http://gee.cs.oswego.edu/dl/jsr166/dist/docs/java/util/concurrent/atomic
/Fences.html

-Doug

_______________________________________________
Concurrency-interest mailing list
Concurrency-interest at cs.oswego.edu
http://cs.oswego.edu/mailman/listinfo/concurrency-interest



More information about the Concurrency-interest mailing list