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

Add BitMap::count_one_bits variant for arbitrary lengths

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      We have BitMap::count_one_bits() which counts all bits in the whole bitmap. It would be helpful to have a variant which accepts arbitrary lengths.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: