On 4/13/2011 9:56 AM, Christopher Dolan wrote:
...
Putting the loaderTable access in the "synchronized (key)" block means
that the HashMap can be modified from multiple threads.  It seems to me
that you must either change the loaderTable to be some other kind of
concurrent map, or redo the locking so the put() is synchronized on
loaderTable.
...

We are now committed to JDK 1.5, and can use java.util.concurrent.

Patricia

Reply via email to