[
https://issues.apache.org/jira/browse/OAK-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Parvulescu updated OAK-2875:
---------------------------------
Attachment: OAK-2875-v1.patch
WIP proposed patch, a much simpler version than what I had initially planned,
to provide a preview for how this would look like.
The idea is to have the namespaces bits react to the session refresh call and
re-read the Tree thus releasing the old instances so GC can cleanup them up.
here are a some aspects to be considered:
- performance
- GC
- cleanly hooking up a refresh observer that will allow the namespaces class
to react
- JCR tck compliance
> 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
> Fix For: 1.3.0
>
> Attachments: OAK-2875-v1.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)