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

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

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)
            Diego Lovison Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: