[infinispan-issues] [JBoss JIRA] (ISPN-9500) ConcurrentSmallIntSet.clear() does not always set the size to 0

Diego Lovison (Jira) issues at jboss.org
Mon Nov 26 11:48:00 EST 2018


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

Diego Lovison updated ISPN-9500:
--------------------------------
    Labels:   (was: on-hold)


> ConcurrentSmallIntSet.clear() does not always set the size to 0
> ---------------------------------------------------------------
>
>                 Key: ISPN-9500
>                 URL: https://issues.jboss.org/browse/ISPN-9500
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.4.0.CR1
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Major
>             Fix For: 9.4.0.CR3, 9.3.4.Final
>
>
> {{ConcurrentSmallIntSet.clear()}} processes the array values with a loop that stops when {{value <= 0}}. This breaks when the highest bit is set, leaving the set empty but with {{size() > 0}} and {{isEmpty() == false}}.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list