[infinispan-issues] [JBoss JIRA] (ISPN-10485) BoundedSegmentedDataContainer.removeSegments is slow

Tristan Tarrant (Jira) issues at jboss.org
Sun Oct 27 16:09:12 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-10485:
-----------------------------------
    Fix Version/s: 10.0.1.Final
                       (was: 10.0.0.Final)


> BoundedSegmentedDataContainer.removeSegments is slow
> ----------------------------------------------------
>
>                 Key: ISPN-10485
>                 URL: https://issues.jboss.org/browse/ISPN-10485
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 10.0.0.Beta5, 9.4.16.Final
>            Reporter: Dan Berindei
>            Priority: Major
>             Fix For: 10.0.1.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.13.8#713008)


More information about the infinispan-issues mailing list