Sanne Grinovero created ISPN-2189:
Summary: Compact buffers of ExpandableMarshalledValueByteStream to save
memory on long term storage
Issue Type: Enhancement
Affects Versions: 5.1.5.FINAL
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Fix For: 5.2.0.ALPHA3
Buffers allocated by org.infinispan.io.ExpandableMarshalledValueByteStream grow by
approximation, but in
we know when the buffer won't grow any longer as it's going to be treated as
effectively immutable. At this point we should shrink the buffer to potentially save
memory on each entry in the datagrid.
This likely needs to be optional as depending on configuration the buffer might be used
for a temporary operation, in which case the effort of resizing should be avoided.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
For more information on JIRA, see: http://www.atlassian.com/software/jira