[infinispan-issues] [JBoss JIRA] (ISPN-2032) MarshalledValue improvements

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri May 4 10:12:19 EDT 2012


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

Manik Surtani updated ISPN-2032:
--------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/1107

    
> MarshalledValue improvements
> ----------------------------
>
>                 Key: ISPN-2032
>                 URL: https://issues.jboss.org/browse/ISPN-2032
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core API, Marshalling
>    Affects Versions: 5.1.4.FINAL
>            Reporter: Manik Surtani
>            Assignee: Galder ZamarreƱo
>             Fix For: 5.1.x, 5.2.0.ALPHA1, 5.2.0.FINAL
>
>
> Improve MarshalledValues by using custom streams (instead of ExposedByteArrayOutputStream) which incurs a penalty of the JDK's BAOS constructor when allocating the initial byte array which is then thrown away.  This patch also changes the signature of getRaw() to return the reusable buffer and prevent an unnecessary array copy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list