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)