forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
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.

Thorsten Scherler                       
Open Source Java                      consulting, training and solutions

View raw message