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

Guillaume Nodet resolved FELIX-3635.
------------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-3.2.6
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?rev=1378126&view=rev

                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to