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

BoundedSegmentedDataContainer.removeSegments is slow

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: