[
https://issues.apache.org/jira/browse/OAK-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701004#comment-14701004
]
Alex Parvulescu commented on OAK-2875:
--------------------------------------
bq. The patch I'm proposing would change the behavior from never refreshing to
refreshing on session refresh.
coming back to this aspect. the original code uses _Tree_ instances for the
mappings, but the trees are live, so any change would be already reflected
locally, my patch only grabs a new instance of the same tree (pointing to the
same location) to release any potential hard nodestate reference. so as far as
behavior goes, this change might not have such a high impact after all.
[~mduerig] thoughts?
> Namespaces keep references to old node states
> ---------------------------------------------
>
> Key: OAK-2875
> URL: https://issues.apache.org/jira/browse/OAK-2875
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: core, jcr
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 1.3.5
>
> Attachments: OAK-2875-v1.patch, OAK-2875-v2.patch
>
>
> As described on the parent issue OA2849, the session namespaces keep a
> reference to a Tree instance which will make GC inefficient.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)