tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Tomcat <>
Subject Re: object pooling
Date Fri, 20 Dec 2002 10:58:03 GMT
On Fri, 2002-12-20 at 11:00, Felipe Schnack wrote:
>   Maybe I should be posting this on a commons maillist or something?
>   Well, the problem is that I have some objects that I'm instantiaing
> tons of times in my application, and so, I would like to pool them.
>   There is somewhere a good "dummies" guide to commons-pool jar? The
> javadocs aren't enough :-)

Have you actually profiled your application to see if this is really
having a performance impact?  If you are using the latest Java (1.41)
object creation is very very fast, with certain exceptions, such as very
large objects, or special objects like direct buffers or threads.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message