geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6114) Avoid ServiceLoader lookup during OpenWebBeansInitializer
Date Wed, 28 Dec 2011 08:11:30 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176511#comment-13176511
] 

Forrest Xia commented on GERONIMO-6114:
---------------------------------------

Hi Kevan,

Can you review this jira and see if it is still valid improvement direction on server startup
time aspect? thanks!

Forrest
                
> Avoid ServiceLoader lookup during OpenWebBeansInitializer
> ---------------------------------------------------------
>
>                 Key: GERONIMO-6114
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6114
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>             Fix For: 3.0
>
>         Attachments: getWiredBundle.png
>
>
> OpenWebBeans initialization can represent a major portion of a Geronimo server's startup
time. I've seen it take nearly 1/4 of a server's startup time. Nearly all of this time is
caused because OpenWebBeans is using ServiceLoader.load(). 
> A search of wired bundles shouldn't be necessary (and we should avoid, if possible).
We should be able to replace OpenWebBeans DefaultImplementationLoaderService with our own
LoaderService implementation. This LoaderService implementation could in turn avoid the use
of XBean's BundleClassLoader (BundleClassLoader.getResource() is what drives the getWiredBundle()
processing).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message