[ 
https://issues.apache.org/jira/browse/SLING-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276854#comment-14276854
 ] 

Michael Dürig commented on SLING-4307:
--------------------------------------

We have seen such long term breakage already in our product. So such an 
approach would just move the origin of the respective exception up the stack. 

> Avoid caching JCR property values
> ---------------------------------
>
>                 Key: SLING-4307
>                 URL: https://issues.apache.org/jira/browse/SLING-4307
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Carsten Ziegeler
>             Fix For: JCR Resource 2.4.0
>
>
> The support for ValueMap is currently caching the JCR Value objects and also 
> the JCR Property object.
> If the value map object is held, this might prevent garbage collection within 
> Oak as the value object holds a reference to the revision.
> We should check whether caching is needed at all or if for example we could 
> just cache the value itself but not the JCR Value object



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to