tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher K. St. John" <...@distributopia.com>
Subject Re: problem with large servlets( classes )?
Date Wed, 03 Apr 2002 19:38:43 GMT
"Craig R. McClanahan" wrote:
> 
> Just as a comparison, I did a quick scan of all the classes in Tomcat 4 --
> the largest single class in the entire server is around 28k (it's the
> class that dynamically deploys a new webapp, called by the Manager
> servlet).  
>

 $ cd catalina/build/server/classes/org/apache/catalina/
 $ find . -name \*.class | xargs -n1 wc | sort -n
    ...
    199     668   17268 ./connector/http/HttpProcessor.class
    209     746   22466 ./loader/WebappClassLoader.class
    219     701   15975 ./mbeans/MBeanFactory.class
    228    1029   26567 ./servlets/WebdavServlet.class
    272    1066   27051 ./servlets/DefaultServlet.class
    446    1569   40736 ./core/StandardContext.class

 
 That's jikes w/debug off. Big classes for big jobs? 
Size-of-the-source-file winners are:

 $ find . -name \*.java | xargs -n1 wc | sort -n
   ...

   1658    5480   55897 ./mbeans/MBeanUtils.java
   1784    6245   66032 ./servlets/CGIServlet.java
   2078    7040   64420 ./loader/WebappClassLoader.java
   2387    7284   77344 ./servlets/DefaultServlet.java
   3065    8006  106698 ./servlets/WebdavServlet.java
   3942   11181  113685 ./core/StandardContext.java


-- 
Christopher St. John cks@distributopia.com
DistribuTopia http://www.distributopia.com



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message