[concurrency-interest] Problem with using an unbounded map of Mutex lock objects

Greg Luck gluck at gregluck.com
Sun Jun 4 04:32:05 EDT 2006


Tim

Is your code example a complete solution? Do you mean that the lock- 
striping is an alternative to your implementation?

In any case  I will run your solution over my mult-threaded torture  
tests this week.

On 04/06/2006, at 2:43 AM, Tim Peierls wrote:

> And in case it wasn't clear, you will still want to pursue the lock  
> striping approach that Brian described to get ConcurrentMap-like  
> behavior.
>
> --tim
>
> On 6/3/06, Tim Peierls <tim at peierls.net> wrote:
> I believe the approach will scale very well. For ehcache, you have  
> serialization concerns that are not addressed in the code below,  
> but this should be independent of the blocking get issue.
>



Regards

Greg Luck

web: http://gregluck.com
skype: gregrluck
yahoo: gregrluck
mobile: +61 408 061 622



-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20060604/b30b255a/attachment.html 


More information about the Concurrency-interest mailing list