[
https://issues.apache.org/jira/browse/OAK-6039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Mari resolved OAK-6039.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.8
1.7.0
Fixed at r r1790844 as part of OAK-6052.
> TarFiles shouldn't need to regularly create a new list of TarReader instances
> -----------------------------------------------------------------------------
>
> Key: OAK-6039
> URL: https://issues.apache.org/jira/browse/OAK-6039
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Affects Versions: 1.8
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: 1.7.0, 1.8
>
>
> The current implementation of {{TarFiles#newWriter}} always create a new list
> of {{TarReader}} instances every time a {{TarWriter}} is frozen into a new
> {{TarReader}}. This is a leftover from the previous implementation.
> The new {{TarReader}} can simply be prepended to the list, without forcing
> the creation of a new list. A more suitable implementation for this list
> should be used as well.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)