[
https://issues.apache.org/jira/browse/ARTEMIS-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060846#comment-16060846
]
ASF GitHub Bot commented on ARTEMIS-1248:
-----------------------------------------
Github user clebertsuconic commented on the issue:
https://github.com/apache/activemq-artemis/pull/1361
@franz1981 Page itself is short lived. it will create a new one every time
we move to a different file. I was looking for a way to have the wrapper living
beyond the existence of page, and to be ready for the next write on the next
page.
I was wondering if the write operation should live on Page itself or on
StorageManager BTW.
And also, I wasn't aware of the recent change at the FileFactory you
recently made in May for the ThreadLocal Buffer.. I think we should use Pooled
instead... it would be more appropriate I think.. but that's a different
discussion.
> Reduce garbage while Paging
> ---------------------------
>
> Key: ARTEMIS-1248
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1248
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Minor
>
> While Paging It reuse the ActiveMQBuffer used to perform operations on the
> underlying SequentialFile.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)