geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Kohlmeyer (JIRA)" <>
Subject [jira] [Commented] (GEODE-1156) Chunked message should cache HeapDataOutputStream objects
Date Tue, 26 Apr 2016 18:33:12 GMT


Udo Kohlmeyer commented on GEODE-1156:

Please generate a pull request. I'll pick up the request then.

> Chunked message should cache HeapDataOutputStream objects
> ---------------------------------------------------------
>                 Key: GEODE-1156
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: messaging
>            Reporter: Robert Geiger
> For a Message the Part's are cached and re-used but for a ChunkedMessage in say a getAll
request a new HeapDataOutputStream object is created for each chunk. For a large message this
leads to many objects being created on heap during a data transfer. HeapDataOutputStream objects
should be cached in a way similar to is done with Part's. Note HeapDataOutputStream already
has a reset() method to clear the object for re-use.

This message was sent by Atlassian JIRA

View raw message