On 11/03/2011 04:50, Bob Hall wrote: > > --- On Thu, 3/10/11 at 8:43 PM, Jess Holle <je...@ptc.com> wrote: > >>>> Yes, both Java 6 Update 24. >>> Just to verify, are both instances Tomcat running in >> the same JVM mode (-client or -server)? (That >> shouldn't affect the .class file size, but just >> checking...) >> Yes. >> > > Have you compared the size of .class files generated for a simple "hello > world" JSP in the two Tomcat instances?
The obvious difference is that Tomcat 6 compilation targets Java 5 whereas Tomcat 7 targets Java 6. For a simple test JSP: Tomcat 6 (1.5) - 3,488 Tomcat 7 (1.5) - 3,530 +1% Tomcat 7 (1.6) - 3,668 +6% The 1% will be a combination of: - Tomcat 7 uses version 3.6 of the Eclipse compiler while Tomcat 6 uses 3.3.1. - the source code differences you can see in the .java files. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org