forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: Concurrency testing of the locationmap throws errors
Date Mon, 30 Jun 2008 13:04:27 GMT
On Mon, 2008-06-30 at 08:34 -0400, Tim Williams wrote:
> On Mon, Jun 30, 2008 at 8:12 AM, Thorsten Scherler
...
> 
> I reckon in that case, it's either the caching or its deeper in the
> actual LM/nodes.  You could try turning off caching completely and see
> if it helps.  

Turning caching off does not change the situation.

> Or, you could change the implementation from a HashMap
> to a ConcurrentHashMap and see if that helps.

I changed 
public synchronized Object getAttribute(...)
which seems to fix the problem. 

:)

Will commit now.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message