]
Tristan Tarrant updated ISPN-6056:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Beta2
8.2.0.Final
Resolution: Done
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
Fix For: 8.2.0.Beta2, 8.2.0.Final
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.