On 11/11/05, Nico Klasens <[EMAIL PROTECTED]> wrote:
> Hello Johannes,
>
> Does you implementation already solve this
>
> java.util.ConcurrentModificationException
> Or do I have to fix this myself?

I didn't change anything there, I just implemented the
CacheImplementationInterface. That one does contain all methods of
Map, which I all send to the OSCache Map implementation. I don't know
if the OSCache map implementation I use (also called LRUHashsomething
by the way) prevents concurrent modifications or not.

> Yhe problem is that the Cache does not delegate all Map methods to the
> wrapped implementation. It uses the default AbstractMap implementation
> which is not synchronized and not optimized for performance.

I do this in my code: everything is delegated to oscache.

Johannes
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to