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

BoundedSegmentedDataContainer.removeSegments is slow

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)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: