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

ConcurrentHashMap does not resize itself

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 12
    • Fix Version/s: None
    • Component/s: core-libs

      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

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

              Dates

              Created:
              Updated:
              Resolved: