Dan Berindei created ISPN-10485:
-----------------------------------
Summary: BoundedSegmentedDataContainer.removeSegments is slow
Key: ISPN-10485
URL:
https://issues.jboss.org/browse/ISPN-10485
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.16.Final, 10.0.0.Beta5
Reporter: Dan Berindei
Fix For: 10.0.0.Final
{{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).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)