[ 
https://issues.apache.org/jira/browse/JCR-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553977
 ] 

Marcel Reutegger commented on JCR-1011:
---------------------------------------

I consider this a very important improvement to jcr2spi. Without this patch the 
cache is basically useless because it only uses weak references to Item 
instances.

I suggest we include this in the 1.4 release.

> JCR2SPI: add configurable cache for Item instances (ItemManager)
> ----------------------------------------------------------------
>
>                 Key: JCR-1011
>                 URL: https://issues.apache.org/jira/browse/JCR-1011
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>            Reporter: angela
>            Assignee: angela
>         Attachments: JCR-1011.patch
>
>
> Currently the ItemManager implementation uses a simple map with weak keys 
> (ItemState) and weak values (Item) as cache.
> Marcel recently suggested to replace this with a more sophisticated cache 
> mechanism that can be configured.

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

Reply via email to