karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5377) Speed up repository loading
Date Thu, 14 Sep 2017 11:56:00 GMT

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

ASF subversion and git services commented on KARAF-5377:
--------------------------------------------------------

Commit 83727d913c4feb4a481d56baf60be487ae9491e1 in karaf's branch refs/heads/master from [~nite]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=83727d9 ]

[KARAF-5377] Speed up repository loading

toLoad is used as a java.util.Queue, but is backed by an ArrayList,
which is highly inefficient when large number of items are present.

Turn it into a Queue with ArrayDeque as the implementation, which shaves
OpenDaylight initial start time from 102 seconds down to under3 seconds.

Signed-off-by: Robert Varga <nite@hq.sk>


> Speed up repository loading
> ---------------------------
>
>                 Key: KARAF-5377
>                 URL: https://issues.apache.org/jira/browse/KARAF-5377
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.2.0, 4.0.10, 4.1.3
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message