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

ConcurrentHashMap does not resize itself

    XMLWordPrintable

Details

    Description

      A DESCRIPTION OF THE PROBLEM :
      Unlike a HashMap, ConcurrentHashMap does not resize itself as new elements are added. So if an initial size is incorrectly chosen the performance of the data structure will become O(log n).

      A hash map with O(log n) performance defeats the whole purpose of using a hash map.


      Attachments

        Activity

          People

            martin Martin Buchholz
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: