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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare
              Diego Lovison Diego Lovison

                Created:
                Updated:
                Resolved:
                Archived: