[
https://issues.apache.org/jira/browse/CASSANDRA-11971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Stupp updated CASSANDRA-11971:
-------------------------------------
Status: Patch Available (was: In Progress)
Patch uses recycled {{DataOutputBuffer}}s instead of allocating new ones.
Also introduces {{DataOutputBuffer.asNewBuffer()}} to replace some
{{ByteBuffer.wrap(out.getData(), 0, out.getLength())}}.
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:11971-more-recycler-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11971-more-recycler-trunk-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11971-more-recycler-trunk-dtest/lastSuccessfulBuild/]
> More uses of DataOutputBuffer.RECYCLER
> --------------------------------------
>
> Key: CASSANDRA-11971
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11971
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Priority: Minor
> Fix For: 3.x
>
>
> There are a few more possible use cases for {{DataOutputBuffer.RECYCLER}},
> which prevents a couple of (larger) allocations.
> (Will provide a patch soon)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)