commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: [pool] synchronization issues in Pool
Date Sun, 23 Oct 2005 14:38:05 GMT
On 23/10/05, Stephen Colebourne <> wrote:

> My main question is can these tests be run against any class? We're
> particularly stuck with
> collections
> LRUMap at present where a bug can easily be reproduced when you don't
> sync, but not at all when you do sync. Yet we have bugs reported! So, is

The issue is not clear to me on the exact circumstances when the
reported bugs do occur:
- do problems ever occur in single-threaded use?
- if problems only occur in multi-threaded use, is access synchronized?
and, just as important:
- are all uses of Iterators synchronized on the map?

See for example:



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message