Relates :
|
|
Relates :
|
|
Relates :
|
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.
|