[jboss-osgi-issues] [JBoss JIRA] Commented: (JBOSGI-396) Improve startup performance by increasing start levels asynchronously

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Sep 21 11:34:28 EDT 2010


    [ https://jira.jboss.org/browse/JBOSGI-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12552093#action_12552093 ] 

David Bosschaert commented on JBOSGI-396:
-----------------------------------------

I implemented this on a the branch origin/bosschaert/sl_async: http://github.com/jbosgi/jbosgi-framework/commit/1f9e2c7e276b5b9b11412f46f0d1d523389463f7

It brings startup time down quite a bit, depending on the number of bundles and initial start level. With the all profile I typically get the following figures:
Before:
06:55:56,982 INFO  [OSGiBootstrapBean] JBossOSGi Runtime booted in 0.661sec

After:
06:56:12,186 INFO  [OSGiBootstrapBean] JBossOSGi Runtime booted in 0.29sec

Not all tests pass - additional event handling is required in a number of startup-related tests, so before finishing it off I'm looking for some feedback on the approach.

> Improve startup performance by increasing start levels asynchronously
> ---------------------------------------------------------------------
>
>                 Key: JBOSGI-396
>                 URL: https://jira.jboss.org/browse/JBOSGI-396
>             Project: JBoss OSGi
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossOSGi 1.0.0 Beta8
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>
> It should be possibly to increase the start level asynchronously when starting up the framework. Currently this is done synchronously.
> When done async it should significantly decrease startup time of the framework.

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

        


More information about the jboss-osgi-issues mailing list