equal
deleted
inserted
replaced
35 namespace metaspace { |
35 namespace metaspace { |
36 |
36 |
37 |
37 |
38 // Starting at (including) pos, find the position of the next 1 bit. |
38 // Starting at (including) pos, find the position of the next 1 bit. |
39 // Return -1 if not found. |
39 // Return -1 if not found. |
40 int BlockListFreeMap::find_next_set_bit(int pos) const { |
40 int BlockListArrayMask::find_next_set_bit(int pos) const { |
41 |
41 |
42 if (get_bit(pos)) { |
42 if (get_bit(pos)) { |
43 return pos; |
43 return pos; |
44 } |
44 } |
45 mask_type m2 = _mask; |
45 mask_type m2 = _mask; |