Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9500

ConcurrentSmallIntSet.clear() does not always set the size to 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.4.0.CR3, 9.3.4.Final
    • 9.4.0.CR1
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Diego Lovison Diego Lovison
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: