Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8296401

ConcurrentHashTable::bulk_delete might miss to delete some objects

    XMLWordPrintable

Details

    • b06

    Description

      ConcurrentHashTable::bulk_delete might miss to delete some objects if a bucket has more than 256 entries (BULK_DELETE_LIMIT). Current uses of ConcurrentHashTable are not harmed by this behaviour.

      The function delete_check_nodes breaks after 256 entries:

           if (dels == num_del) {
              break;

      My added for (;;) will remove entries until the bucket is empty.

      Attachments

        Issue Links

          Activity

            People

              lkorinth Leo Korinth
              lkorinth Leo Korinth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: