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

Wouter Bancken commented on ARIES-1564:
---------------------------------------

I thought LinkedList was faster for sorting but looks like I was wrong. 
For getting the values for the map, my latest changes seem to be missing. It 
should retrieve the osgi.identity attribute from the capability. I'll commit 
that later.

Don't have a solution for the keys of the map yet. I'll look into it!

Thanks for the feedback!

> Performance improvement: sorting bundles by start-level is done eagerly
> -----------------------------------------------------------------------
>
>                 Key: ARIES-1564
>                 URL: https://issues.apache.org/jira/browse/ARIES-1564
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>    Affects Versions: subsystem-2.0.8
>            Reporter: Wouter Bancken
>
> h4. Description
> During sorting in the StartAction class, the SubsystemContentHeader is parsed 
> every time the start order of a bundle is needed. By eagerly parsing the 
> header and storing the start value for every bundle, an improved startup time 
> can be achieved.
> h4. Pull request
> https://github.com/apache/aries/compare/subsystem-2.0.x...WouterBanckenACA:sorting_performance_optimalisation
> h4. Mailinglist
> http://mail-archives.apache.org/mod_mbox/aries-user/201606.mbox/%3CCAL5nZgRQcvFqz8g1c7mKJ3C_UoRmRox10%2BOM2uEjRbCkTYodDQ%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to