Jarek Gawor created FELIX-3635:
----------------------------------
Summary: Unnecessary processing in DirectoryWatcher
Key: FELIX-3635
URL: https://issues.apache.org/jira/browse/FELIX-3635
Project: Felix
Issue Type: Bug
Components: File Install
Affects Versions: fileinstall-3.2.4
Reporter: Jarek Gawor
When a DirectoryWatcher is setup to only watch configuration files (e.g.
*.cfg), on each scan findBundlesWithOptionalPackagesToRefresh() is called.
Since only configuration can change - no bundles, there is no need to call
findBundlesWithOptionalPackagesToRefresh(). And the
findBundlesWithOptionalPackagesToRefresh() can be expensive since it goes
through all bundles in the framework looking for optional imports that can be
now satisfied.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira