Incorrect assert in BitMap::count_one_bits

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • b22

      BitMap::count_one_bits has this post-condition assert:

      assert(sum <= (beg - end), "must be");

      That should be "(end - beg)".

            Assignee:
            Fredrik Bredberg
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: