[infinispan-issues] [JBoss JIRA] (ISPN-9500) ConcurrentSmallIntSet.clear() does not always set the size to 0
Dan Berindei (JIRA)
issues at jboss.org
Thu Sep 13 06:59:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-9500:
-------------------------------
Sprint: Sprint 9.4.0.CR3
> 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
> 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.5.0#75005)
More information about the infinispan-issues
mailing list