Details
-
Bug
-
Resolution: Done
-
Major
-
9.0.0.CR2
-
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.