You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/04/02 13:54:14 UTC

[jira] [Created] (JCR-3764) Provide an option to disable use of inUseMap in FileDataStore

Chetan Mehrotra created JCR-3764:
------------------------------------

             Summary: Provide an option to disable use of inUseMap in FileDataStore
                 Key: JCR-3764
                 URL: https://issues.apache.org/jira/browse/JCR-3764
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-data
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
            Priority: Minor


JR2 FileDataStore#inUseMap [1] is currently a synchronized map and that at times causes contention concurrent env. This map is used for supporting the Blob GC logic for JR2. 

When used in Oak the GC logic does not rely on isUseMap. So to reduce any overhead FDS should provide an option to disable use of this map

[1] https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/FileDataStore.java#L118



--
This message was sent by Atlassian JIRA
(v6.2#6252)