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

MarshalledValue improvements

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

XMLWordPrintable

      Improve MarshalledValues by using custom streams (instead of ExposedByteArrayOutputStream) which incurs a penalty of the JDK's BAOS constructor when allocating the initial byte array which is then thrown away. This patch also changes the signature of getRaw() to return the reusable buffer and prevent an unnecessary array copy.

              manik_jira Manik Surtani (Inactive)
              manik_jira Manik Surtani (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: