[
https://issues.apache.org/jira/browse/ARIES-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925100#action_12925100
]
Valentin Mahrwald commented on ARIES-457:
-----------------------------------------
Judging from circumstantial evidence this appears to be entirely down to
FrameworkUtils.getBundleDependencies, which is called once for each bundle and
then iterates over all the bundles to get their exported packages.
I tried this on Equinox and Sun JDK 6. So the problem is not related to the
environment at all, although the bottleneck could be different on Felix ...
> Efficiency problem in the method listBundles() of class
> org.apache.aries.jmx.framework.BundleState
> --------------------------------------------------------------------------------------------------
>
> Key: ARIES-457
> URL: https://issues.apache.org/jira/browse/ARIES-457
> Project: Aries
> Issue Type: Improvement
> Components: JMX
> Affects Versions: 0.3
> Environment: OSGi framwork: Felix
> JDK: IBM JDK 6
> Reporter: Wang Guang Zhe
> Fix For: 0.3
>
>
> In our environment, there are always 200 to 300 bundles in the OSGi framwork.
> When invoking listBundles() of the class BundleState, it spends more than
> twenty seconds which is too long to endure.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.