geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Hogstrom (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-2571) Server Startup Time is Very Slow
Date Wed, 15 Nov 2006 21:56:37 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-2571?page=comments#action_12450208 ] 
            
Matt Hogstrom commented on GERONIMO-2571:
-----------------------------------------

After looking at a profile for server startup I noted that we were spending an inordinate
amount of time in ClassLoading.  Of the classes being loaded a large number of them were boolean,
int, and floats as well as java.lang.* types.   These of course failed in the MultiParentClassLoader
as these classes are loaded from the System Classloader.  Rather than failing on the lookup
for these classes in every classloader code was added to go directly to the System Classloader
for classes of 

int
boolean
float
double
and classes that being with java.

This fix took server startup down from 62 seconds (on average) to 17 seconds.

> Server Startup Time is Very Slow
> --------------------------------
>
>                 Key: GERONIMO-2571
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2571
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.2
>         Environment: All
>            Reporter: Matt Hogstrom
>         Assigned To: Matt Hogstrom
>             Fix For: 1.2
>
>
> Server startup for web applications under Jetty have increased dramatically for 1.2.
 Startup time is approximately 1 minute for a standard J2EE server with Jetty as the WebContainer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message