vinay nair wrote:
> --- Berin Loritsch <[EMAIL PROTECTED]> wrote:
>
>>I remember reading an article on how to implement an
>>efficient ThreadSafe hashmap.
>>The problem is that I can't remember where. The
>>concept is to reduce the locking
>>contention to a "bucket". The implementation they
>>had was fairly simple, and
>>went something along these lines:
>>
> This might be the place.(atleast this where I found:-)
> http://www-106.ibm.com/developerworks/java/library/j-threads2.html
That was the place!
BTW, I named it BucketMap, it's in CVS, and it desparately needs some
comments. Also, the ContainerProfile.java class shows it is a whole
lot more efficient than the previous implementation.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>