tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject Re: Object pooling (was: more about custam tag life cycle)
Date Mon, 03 Feb 2003 22:44:29 GMT


Will Hartung wrote:
>>From: "Erik Price" <eprice@ptc.com>
>>Sent: Monday, February 03, 2003 2:16 PM
>>Subject: Re: more about custam tag life cycle
> 
> 
> 
>>Are you saying that in general, object pooling is deprecated?  In other
>>words, it's always a bad idea, with the exception of DataSource type
> 
> pools?
> 
> As a design issue, Object Pooling is frowned upon with the modern garbage
> collectors because short lived objects are "cheap". One of the original
> goals of Object Pooling was to put less strain on the GC by not creating
> lots of short term objects.

Thanks.  Someday I will have to learn more about garbage collection.


Erik


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


Mime
View raw message