hotspot/src/share/vm/gc/g1/g1BlockOffsetTable.inline.hpp
changeset 33786 ac8da6513351
parent 33105 294e48b4f704
child 35461 1068dcb8d315
equal deleted inserted replaced
33785:f5e6ef11d24b 33786:ac8da6513351
   121   while (offset >= N_words) {
   121   while (offset >= N_words) {
   122     // The excess of the offset from N_words indicates a power of Base
   122     // The excess of the offset from N_words indicates a power of Base
   123     // to go back by.
   123     // to go back by.
   124     size_t n_cards_back = BlockOffsetArray::entry_to_cards_back(offset);
   124     size_t n_cards_back = BlockOffsetArray::entry_to_cards_back(offset);
   125     q -= (N_words * n_cards_back);
   125     q -= (N_words * n_cards_back);
   126     assert(q >= gsp()->bottom(), "Went below bottom!");
       
   127     index -= n_cards_back;
   126     index -= n_cards_back;
   128     offset = _array->offset_array(index);
   127     offset = _array->offset_array(index);
   129   }
   128   }
   130   assert(offset < N_words, "offset too large");
   129   assert(offset < N_words, "offset too large");
   131   q -= offset;
   130   q -= offset;