[
https://issues.apache.org/jira/browse/GEODE-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835755#comment-16835755
]
ASF subversion and git services commented on GEODE-6686:
--------------------------------------------------------
Commit e16910f7679cec5a93261159e69408f4ea36c32b in geode's branch
refs/heads/develop from Darrel Schneider
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=e16910f ]
GEODE-6686: prevent array allocation in FilterInfo toData (#3526)
FilterInfo.toData no longer allocates a heap ByteBuffer
every time it is called. Instead it uses the ThreadLocal byte array.
> FilterRoutingInfo.FilterInfo.toData could be optimized to not allocate a byte
> array every time
> ----------------------------------------------------------------------------------------------
>
> Key: GEODE-6686
> URL: https://issues.apache.org/jira/browse/GEODE-6686
> Project: Geode
> Issue Type: Improvement
> Components: serialization
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Major
> Labels: performance
> Time Spent: 20m
> Remaining Estimate: 0h
>
> FilterRoutingInfo.FilterInfo.toData could be optimized to not allocate a byte
> array every time.
> Currently it always allocates a new byte array in a HeapDataOutputStream. It
> could instead the thread local byte array cache.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)