BitMap::count_one_bits iterates over the words in the map and sums their population counts. Hacker's Delight (2nd Edition) refers to this as the "naive" method, and describes a more efficient method in Figure 5-7 and the surrounding text.
- relates to
-
JDK-8235551 BitMap::count_one_bits should use population_count
-
- Resolved
-
-
JDK-8235714 BitMap::count_one_bits may count bits beyond unaligned end
-
- Resolved
-