[jboss-jira] [JBoss JIRA] Commented: (JBAS-6105) Improve start-up time

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Wed Oct 22 16:30:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBAS-6105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12434963#action_12434963 ] 

Jesper Pedersen commented on JBAS-6105:
---------------------------------------

Numbers from rev79939:

Most time:
==========
Count   Ms      Avg     %       Method
4953    47616.42        9.61    10.43   org.jboss.classloader.spi.base.BaseClassLoader#access$200(org.jboss.classloader.spi.base.BaseClassLoader, String, byte[], int, int, java.security.ProtectionDomain)
3183642 21790.17        0.01    4.77    org.jboss.virtual.plugins.context.AbstractVirtualFileHandler#getVFSContext()
7428121 14988.60        0.00    3.28    org.jboss.dependency.spi.ControllerState#equals(Object)
1241747 12671.74        0.01    2.78    org.jboss.virtual.plugins.context.AbstractVirtualFileHandler#getLocalPathName()
1334360 11919.14        0.01    2.61    org.jboss.virtual.plugins.context.AbstractVirtualFileHandler#equals(Object)
4937993 9498.46 0.00    2.08    org.jboss.virtual.plugins.context.AbstractVirtualFileHandler#checkClosed()
200021  9298.65 0.05    2.04    org.jboss.aop.pointcut.Util#subtypeOf(Class, org.jboss.aop.pointcut.ast.ClassExpression, org.jboss.aop.Advisor)
629871  8322.79 0.01    1.82    org.jboss.virtual.plugins.context.zip.ZipEntryContext#isLeaf(org.jboss.virtual.plugins.context.zip.ZipEntryHandler)
4263165 8095.65 0.00    1.77    org.jboss.virtual.plugins.context.AbstractVirtualFileHandler#getPathName()
1893550 7969.19 0.00    1.75    org.jboss.virtual.plugins.context.zip.ZipEntryContext#getRoot()

Hotspots:
=========
Count   Ms      Avg     %       Method
1       7058.56 7058.56 1.55    org.jboss.messaging.core.jmx.MessagingPostOfficeService#startService()
2       4986.72 2493.36 1.09    org.jboss.aop.asintegration.jboss5.AOPDeploymentAopMetaDataDeployer#deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit, org.jboss.aop.microcontainer.beans.metadata.AOPDeployment)
1       2082.62 2082.62 0.46    org.jboss.util.threadpool.RunnableTaskWrapper#run()
1       609.69  609.69  0.13    org.jboss.kernel.plugins.annotations.BasicBeanAnnotationAdapter#()
1       311.67  311.67  0.07    org.jboss.system.server.ServerLoader#createServer(String, ClassLoader)
1       301.08  301.08  0.07    org.jboss.bootstrap.xml.BootstrapParser#parse(java.net.URL)
1       260.18  260.18  0.06    org.jboss.jdbc.HypersonicDatabase#getConnection(String)
2       504.32  252.16  0.11    org.jboss.aop.AspectManager$1#run()
1       248.32  248.32  0.05    org.jboss.bootstrap.xml.BootstrapSchemaBinding#()
6       1358.67 226.45  0.30    org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper$1NotifyRunner#run()

Packages:
=========
%       Ms      Package
22.87   104404.23       org.jboss.virtual.plugins.context
13.38   61083.47        org.jboss.virtual.plugins.context.zip
11.62   53065.55        org.jboss.classloader.spi.base
5.06    23126.08        org.jboss.aop.pointcut
3.58    16345.67        org.jboss.aop.pointcut.ast
3.44    15711.14        org.jboss.metadata.spi.scope
3.28    14992.11        org.jboss.dependency.spi
2.15    9798.01 org.jboss.dependency.plugins
2.11    9637.93 org.jboss.virtual
2.08    9507.33 org.jboss.aop
2.08    9504.33 org.jboss.deployers.plugins.annotations
1.95    8894.99 org.jboss.mx.server
1.74    7946.39 org.jboss.metadata.spi.signature.javassist
1.55    7071.67 org.jboss.messaging.core.jmx
1.26    5735.81 org.jboss.metadata.spi.signature
1.21    5506.89 org.jboss.virtual.plugins.context.file
1.18    5371.61 org.jboss.aop.asintegration.jboss5
1.02    4663.14 org.jboss.virtual.plugins.vfs.helpers

The main things during startup are: VFS, Classloading and AOP - as you would expect.

Notice there are two calls to org.jboss.aop.asintegration.jboss5.AOPDeploymentAopMetaDataDeployer#deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit, org.jboss.aop.microcontainer.beans.metadata.AOPDeployment) in the hotspot section.

The file contains the profile of org.jboss classes only - I can do other profiles if needed.

> Improve start-up time
> ---------------------
>
>                 Key: JBAS-6105
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6105
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Dimitris Andreadis
>            Assignee: Ales Justin
>            Priority: Blocker
>             Fix For: JBossAS-5.0.0.GA
>
>         Attachments: 79770.zip, 79939.zip
>
>
> Boot time has gone up by 60% causing testsuite timeouts.
> On my laptop the boot time for default & all have gone up from 30 & 50 secs to 50 & 80 secs respectively.
> We need to find out why.

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

        



More information about the jboss-jira mailing list