[
https://issues.apache.org/jira/browse/GEODE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Baker updated GEODE-1299:
---------------------------------
Labels: offheap performance (was: offheap)
> Improve MsgStreamer.write(ByteBuffer) by not copying part of a byte buffer
> --------------------------------------------------------------------------
>
> Key: GEODE-1299
> URL: https://issues.apache.org/jira/browse/GEODE-1299
> Project: Geode
> Issue Type: Improvement
> Components: offheap
> Reporter: Darrel Schneider
> Priority: Major
> Labels: offheap, performance
>
> In MsgStreamer.write(ByteBuffer) the while loop can end up copying part of
> the ByteBuffer being written to "this.buffer" and then the rest of it to
> "overflowBuf".
> It is probably better (for sure if the overflowBuf will have doNotCopy=true)
> to just write the entire ByteBuffer to the overflowBuf instead of splitting
> it up.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)