Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8236309 | 15 | Claes Redestad | P4 | Resolved | Fixed | team |
BitMap::count_one_bits has a handrolled implementation of population_count, generating a 256-element lookup on first use and doing byte-by-byte lookup. This is similar to what RegMask did before introduction of a population_count utility function in JDK-8217519
BitMap needs the population_count to allow for both 32- and 64-bit unsigned integers, while the current population_count only accepts 32-bit unsigned integers.
BitMap needs the population_count to allow for both 32- and 64-bit unsigned integers, while the current population_count only accepts 32-bit unsigned integers.
- backported by
-
JDK-8236309 BitMap::count_one_bits should use population_count
-
- Resolved
-
- relates to
-
JDK-8235714 BitMap::count_one_bits may count bits beyond unaligned end
-
- Resolved
-
-
JDK-8241581 Add BitMap::count_one_bits variant for arbitrary lengths
-
- Resolved
-
-
JDK-8235715 BitMap::count_one_bits could be faster
-
- Closed
-