Hi, You know, there is a flag in tomcat/conf/web.xml on the jasper config : <init-param> <param-name>enablePooling</param-name> <param-value>false</param-value> </init-param>
So you shouldn't need to disable tagpooling in tomcat source before compiling it. I've always had a problem with tagpooling and using the osCache (www.opensymphony.com) library. For some reason it does not work correctly with tomcat, so I have to disable tagpooling too. -reynir > -----Original Message----- > From: Bill Barker [mailto:[EMAIL PROTECTED] > Sent: 7. júní 2003 04:24 > To: [EMAIL PROTECTED] > Subject: Re: Sun JVM vs. JRockit > > > > "joe user" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > --- Bill Barker <[EMAIL PROTECTED]> wrote: > > > From what I've seen, for small number of requests > > > like this, the overhead of > > > managing the tagpool swamps what it saves in GC. > > > You might want to try > > > disabling tag-pooling (and clear the work dir), and > > > re-run the test on 4.1. > > > > Object pooling is just bad design and it should be > > removed from the spec. We don't pool StringBuffers or HashSets or > > whatever because that results in crappy performance. > Object pooling > > used to be a good idea way back in the Java 1.1 days but > now, with the > > exception of very expensive objects like database > > connections, object pooling makes performance worse. > > The GC is very very effecient and it does a better job > > than an object pool can do. Also, pooling Tag objects > > can result in various kinds of bugs that are > > essentially memory management type of bugs. One of > > the main reasons we are using Java instead of C++ is > > _because_ of the GC. We should use it, not fight it. > > I hope that Tag pooling is removed entirely from the > > spec soon. > > > > I agree. That's why one of the first things I do when > setting up a new production Tomcat is to go into Jasper and > disable tag-pooling before compiling it ;-). > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > > http://calendar.yahoo.com > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]