felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1625) Refactor bundle cache to simplify management
Date Mon, 21 Sep 2009 13:14:16 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757888#action_12757888

Richard S. Hall commented on FELIX-1625:

So, Marcel, I am to read your comment as a +1 for putting back the ability to be able to replace
the cache implementation?

> Refactor bundle cache to simplify management
> --------------------------------------------
>                 Key: FELIX-1625
>                 URL: https://issues.apache.org/jira/browse/FELIX-1625
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: felix-2.0.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-2.2.0
> Currently, bundle cache management is a little clumsy since it spreads responsibility
for managing the class across different layers. Also, it is not as efficient as it could be,
since it opens the JAR file for each bundle twice when starting up. We should refactor the
bundle cache to try to consolidate its management as much as possible. Since bundles already
hold a reference to their archive, we don't actually need a separate bundle cache object to
do this. Instead, we should try to make the operations on bundle responsible for cache management.

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

View raw message