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

SimpleCacheImpl streams iterate through the data container twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Final
    • 9.0.0.CR2
    • Core
    • None

    Description

      SimpleCacheImpl.getStreamSupplier() uses DataContainer.size() to estimate the size of the stream, and that method iterates through the data container in order to exclude expired entries. It should use DataContainer.sizeIncludingExpired() instead, which doesn't iterate through the data container.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: