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

Make GrowableBitMap the base class of all implementations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • b24
    • generic
    • generic

      BitMap is an abstract class. All subclasses provide their own allocators. It is the allocator brings the capability to 'resize' the container. I would like to add a new 'GrowableBitmap' and make it the common base class.

      A new interface 'grow(idx_t bit)' will be added to the class.

      To substitute 'VectorSet', we also need to merge ResourceBitMap and ArenaBitMap because VectorSet supports Resource and Arena storage at the same time.

            xliu Xin Liu
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: