Francesco Mari created OAK-6039:
-----------------------------------
Summary: 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
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)