Currently, IndexSetIterator::next uses a 5-bit window and two lookup-tables to iteratively search for the next set bit and then shift the window forward to prepare for the next call.
Using count_trailing_zeros this logic can be simplified and made slightly faster.
Using count_trailing_zeros this logic can be simplified and made slightly faster.
- relates to
-
JDK-8219951 Build failure on Mac and Windows after JDK-8219922
- Resolved