Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6056

Improve ReplicableCommand marshalling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.2.0.Beta2, 8.2.0.Final
    • 8.0.2.Final
    • Core
    • None

      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.

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: