[infinispan-issues] [JBoss JIRA] (ISPN-2189) Compact buffers of ExpandableMarshalledValueByteStream to save memory on long term storage

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Sep 10 13:00:33 EDT 2012


     [ https://issues.jboss.org/browse/ISPN-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-2189:
-----------------------------------

    Fix Version/s: 5.2.0.Final
                       (was: 5.2.0.Alpha4)

    
> Compact buffers of ExpandableMarshalledValueByteStream to save memory on long term storage
> ------------------------------------------------------------------------------------------
>
>                 Key: ISPN-2189
>                 URL: https://issues.jboss.org/browse/ISPN-2189
>             Project: Infinispan
>          Issue Type: Enhancement
>    Affects Versions: 5.1.5.FINAL
>            Reporter: Sanne Grinovero
>            Assignee: Manik Surtani
>             Fix For: 5.2.0.Final
>
>
> Buffers allocated by org.infinispan.io.ExpandableMarshalledValueByteStream grow by approximation, but in
> {code}org.infinispan.marshall.MarshalledValue.serialize0(){code}
> 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



More information about the infinispan-issues mailing list