tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: [5.0] Removing session recycling code
Date Tue, 08 Jul 2003 01:29:32 GMT

----- Original Message -----
From: "Remy Maucherat" <remm@apache.org>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Monday, July 07, 2003 2:54 PM
Subject: [5.0] Removing session recycling code


> Hi,
>
> I'd like to completely remove session recycling code from TC 5, as it is
> a potentially dangerous feature (which has been disabled in TC 4.1.x)
> and does not bring any actual performance improvement while using memory.
> The biggest impact of the change is the removal of the recycled array
> list for base manager, which can break existing TC 4 managers. OTOH,
> using that is unsafe, and fixing an affected manager is very easy (just
> remove whatever recylcling code was used).
>
> I plan to keep Session.recycle around (nulling out references can help
> GC, esp since there could be a lot of session objects - with all their
> children - waiting to be GCed).
>
> Comments ?

Having put so much work into getting the session recycling code working in
3.3, I'm +1 for not seeing that headache again ;-).


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


Mime
View raw message