You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2015/10/09 10:42:28 UTC

[jira] [Created] (OAK-3501) PersistedCompactionMap could release reference to records early

Alex Parvulescu created OAK-3501:
------------------------------------

             Summary: PersistedCompactionMap could release reference to records early
                 Key: OAK-3501
                 URL: https://issues.apache.org/jira/browse/OAK-3501
             Project: Jackrabbit Oak
          Issue Type: Technical task
          Components: segmentmk
            Reporter: Alex Parvulescu
            Priority: Minor


Whenever a PersistedCompactionMap becomes empty it will be eventually dropped from the compaction maps chain. this will happen on the next compaction cycle, which happens post-cleanup. so we're potentially keeping a reference to some collectable garbage for up to 2 cycles.
I'd like to propose a patch that allows for eagerly nullifying the reference to the records, making this interval shorter.



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