src/hotspot/share/memory/metaspace/blockListArray.inline.hpp
branchstuefe-new-metaspace-branch
changeset 59257 990b1fed3b47
parent 59238 6ce12ce00d3e
child 59271 1558266946de
equal deleted inserted replaced
59238:6ce12ce00d3e 59257:990b1fed3b47
    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;