commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32573] - [collections] NPE: map.LRUMap.reuseMapping(LRUMap.java:272)
Date Mon, 21 Nov 2005 18:29:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32573





------- Additional Comments From jhecking@netgaroo.com  2005-11-21 19:29 -------
(In reply to comment #20)
> Are you really running without synchronisation?
Yes, before we hit this bug we were running without synchronization. Now we
wrapped the LRUMap in a Collections.synchronizedMap().

> Is there any chance that mutliple threads are accessing the map?
Yes, multiple threads are reading and writing the map.

Off course in this case it was stupid to not use synchronized access in the
first place as LRUMap does not explicitly state that it is threadsafe...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message