tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rémy Maucherat" <remy.mauche...@gmail.com>
Subject Re: Memory Leak with Comet
Date Sat, 28 Apr 2007 00:47:40 GMT
On 4/28/07, Reich, Matthias <matthias.reich@siemens.com> wrote:
> The problem is that the socket is added to the poller already within the
> Http11AprProcessor.event method.
> Due to this the process method can be invoked before the event method
> has done it's cleanup.

I don't really understand how it can happen in the real world, but
since the processor event method does return the socket to a poller,
it is indeed possible that one processor gets lost during the
execution of the process method if the "new" processor is mistakenly
removed concurrently by the event method.

Rémy

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message