Details

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

      Description

      BitMap::iterate could be improved by using count_trailing_zeros instead of looping over the individual bits in a word, much as was done for get_next_one_offset and friends by JDK-6735527. Rewriting it to use get_next_one_offset would likely both simplify it and make it faster.

      It used to be that the deprecated (and now removed) CMS GC was the only user of this function, so improving it wasn't a priority. But it's now being used by CDS (see JDK-8208658, for example), so may be worthwhile now.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kbarrett Kim Barrett
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: