[infinispan-issues] [JBoss JIRA] (ISPN-6056) Improve ReplicableCommand marshalling

Pedro Ruivo (JIRA) issues at jboss.org
Mon Jan 11 09:22:00 EST 2016


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

Pedro Ruivo updated ISPN-6056:
------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/3928


> Improve ReplicableCommand marshalling
> -------------------------------------
>
>                 Key: ISPN-6056
>                 URL: https://issues.jboss.org/browse/ISPN-6056
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: 8.0.2.Final
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>
> Memory-wise speaking, it is possible to reduce the pressure when (un)marshalling the ReplicableCommand by doing it directly in the ObjectInput/ObjectOutput.
> Improvements:
> * remove Object array created by get/setParameters()
> * remove byte array creating in the externalizer.
> Public API change:
> * ReplicableCommand interface: deprecate get/setParameters() and create readFrom()/writeTo() methods.
> * Marshaller interface: added new start... methods.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list