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

Clean up CompactHashtable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b120

      CompactHashtable is good for read-only hastables that are created at CDS dump time and used at run time. There are a few problems with it:

      1. The insertion and lookup code is convoluted.
      2. There's no clear separation between meta information (size, the buckets, etc), from the actual data.
      3. They are currently stored in the MD section of the CDS archive but should really be stored in the RO section.
      4. It's not easy to extend it to support new types of entries.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: