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

Improve ReplicableCommand marshalling

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: