Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8418 Off Heap improvements
  3. ISPN-8520

Use single memory block for address list values

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 9.2.0.Final
    • Off Heap
    • None

      Currently off heap stores the values as a forward only list of separate pointers. We could instead store these in a single block of memory for each bucket. This would reduce overhead for each bucket as it would only require 1 block of memory. However every time a new entry is added or removed we would have to free the entire block of memory. This however would have the benefit of the lookup would be much more efficient when we have more entries as they are contiguous in memory.

      This issue would probably benefit reads at the cost of writes possibly, but it would have to be tested with different sizes of address lookups to be sure.

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

                Created:
                Updated: