[ 
https://issues.apache.org/jira/browse/FELIX-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed FELIX-3635.
-----------------------------------

> 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
>            Assignee: Guillaume Nodet
>             Fix For: fileinstall-3.2.6
>
>         Attachments: FELIX-3635.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to