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

Reduce number of allocations

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

XMLWordPrintable

      Profiling revealed some allocations that are easy to remove:

      • The HotRod operations factory stores a list of flags in a thread-local. The thread-local can be removed, and the flags can be stored in an int.
      • JGroupsTransport copies the list of members to check if a broadcast should be sent as a unicast, and the copy is then discarded.
      • ExtendedByteBuf could use Array.empty instead of Array[Byte]().
      • DecoratedCache could avoid calling Arrays.asList().

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: