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

Dan Berindei (JIRA) issues at jboss.org
Tue Sep 11 08:06:01 EDT 2018


Dan Berindei created ISPN-9500:
----------------------------------

             Summary: 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.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