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

MarshallableEntryImpl should not eagerly unmarshall object key and values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.Final
    • 12.1.7.Final, 13.0.0.Final
    • Marshalling
    • None

      The Object constructor for MarshallableEntryImpl eagerly marshalls the key, value, metadata and private metadata. This is not needed as this is used for load/publish purposes. If the store already provides the unmarshalled values, there is no reason for Infinispan to marshall them as it will store these in the storage format instead.
      We should remove these lines https://github.com/infinispan/infinispan/blob/ed32d9055268d11b58ace243f1cba9044faaae87/core/src/main/java/org/infinispan/marshall/persistence/impl/MarshallableEntryImpl.java#L40-L42

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: