Guillaume Nodet created FELIX-4812:
--------------------------------------
Summary: BundleRepository can be quite CPU intensive when starting
a lot of bundles
Key: FELIX-4812
URL: https://issues.apache.org/jira/browse/FELIX-4812
Project: Felix
Issue Type: Improvement
Components: Bundle Repository (OBR)
Affects Versions: bundlerepository-2.0.2
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Fix For: bundlerepository-2.0.4
The reason is that each time a bundle is modified or a service registered, the
whole resource is recreated.
When OBR local repository is not really used, it can be quite costly.
A good approach would be to use lazy resources instead of computing the
resource upfront, so that the requirements and capabilities are only computed
when the resource is actually used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)