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

BoundedSegmentedDataContainer.removeSegments is slow

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 9.4.16.Final, 10.0.0.Final
    • Core
    • None

      BoundedSegmentedDataContainer.removeSegments iterates over the evictionCache entries (through the entries map) and computes the segment for each entry, then deletes the entry if its segment is one of the removed segments. Computing the segment of many entries can be expensive, so it would be better to remove the entries from evictionCache by iterating over the already-segmented maps (before removing them).

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

                Created:
                Updated:
                Resolved:
                Archived: