mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee" <trus...@gmail.com>
Subject Re: Bug in IdentityHashMap
Date Tue, 02 Oct 2007 15:35:17 GMT
On 10/2/07, Rupert Smith <rupertlssmith@googlemail.com> wrote:
> https://issues.apache.org/jira/browse/DIRMINA-452
>
> Hi, I am contributing to the Qpid incubator project, and have discovered a
> bug in IdentityHashMap, that Mina is exposed to. I notice that
> IdentityHashMap is used a fair amount within the Mina code base, so thought
> I would take the additional step of mailing your dev list.
>
> Occasionally, certain sequences of put and iterator.remove() can fool the
> map into allowing put() to be called with a full table. It then loops
> forever looking for a free slot in the table. See the JIRA for sample code
> to expose the bug.
>
> This is a problem for Qpid as thgouh the VmPipeIdleStatusChcker class, but
> there may be other usages of IdentityHashMap.iterator.remove() in the Mina
> code base.
>
> Is there any possibility of creating a new 1.0.x release with a fix for this
> issue?

Unfortunately, I've just cut the release, so the fix will be released
in 1.0.7 and 1.1.4.  Of course, therefore, the fix will be included in
the next release.

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Mime
View raw message