You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/10/08 17:52:31 UTC

[jira] Created: (FELIX-1724) Various module metadata should be cached

Various module metadata should be cached
----------------------------------------

                 Key: FELIX-1724
                 URL: https://issues.apache.org/jira/browse/FELIX-1724
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: felix-2.0.0
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: felix-2.0.1


Since the last changes for fragment support, the module metadata for capabilities, requirements, and dynamic requirements is calculated each time (i.e, host + fragments) when the respective getter method is called. The resolution process invokes these methods numerous times, so it might be better to calculate them once and cache the result.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-1724) Various module metadata should be cached

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-1724.
----------------------------------

    Resolution: Fixed

Committed a fix. Now capabilities, requirements, and dynamic requirements are cached.

> Various module metadata should be cached
> ----------------------------------------
>
>                 Key: FELIX-1724
>                 URL: https://issues.apache.org/jira/browse/FELIX-1724
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: felix-2.0.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: felix-2.0.1
>
>
> Since the last changes for fragment support, the module metadata for capabilities, requirements, and dynamic requirements is calculated each time (i.e, host + fragments) when the respective getter method is called. The resolution process invokes these methods numerous times, so it might be better to calculate them once and cache the result.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.