[concurrency-interest] Java concurrency refcard

Joe Bowbeer joe.bowbeer at gmail.com
Tue Jul 7 14:34:25 EDT 2009


Thanks for doing this.

I saw a few things in a quick glance:

1. Can you point out the importance of documentation in one of the hot
tips?  The j.u.c. tools go a long way toward encapsulating useful
mechanisms, and the annotations can be put to good use here as well (see
below), but as a rule, concurrent code usually needs additional explanation.

2. Can you cover the annotations?

3. Please warn against the use of wait-notify.  It's almost always better to
use one of the j.u.c. tools than to write a wait-notify.  In my experience,
wait-notify instances are a reliable source of bugs.

4. Your canonical usage example for wait-notify is completely ignoring the


On Mon, Jul 6, 2009 at 12:13 PM, Alex Miller wrote:

> Hey all, I wrote a concurrency refcard for dzone in case anyone here wants
> to tell me what's wrong on it. :)
> http://refcardz.dzone.com/refcardz/core-java-concurrency
> Seriously, I would be interested to know if I screwed something up so
> please drop me a line either publicly or privately.
> Thanks,
> Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20090707/537c6f23/attachment.html>

More information about the Concurrency-interest mailing list