hotspot/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp
changeset 22551 9bf46d16dcc6
parent 22234 da823d78ad65
child 23858 dae377f5a7c7
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
   446     return ub;
   446     return ub;
   447   }
   447   }
   448 
   448 
   449   // Otherwise, find the block start using the table, but taking
   449   // Otherwise, find the block start using the table, but taking
   450   // care (cf block_start_unsafe() above) not to parse any objects/blocks
   450   // care (cf block_start_unsafe() above) not to parse any objects/blocks
   451   // on the cards themsleves.
   451   // on the cards themselves.
   452   size_t index = _array->index_for(addr);
   452   size_t index = _array->index_for(addr);
   453   assert(_array->address_for_index(index) == addr,
   453   assert(_array->address_for_index(index) == addr,
   454          "arg should be start of card");
   454          "arg should be start of card");
   455 
   455 
   456   HeapWord* q = (HeapWord*)addr;
   456   HeapWord* q = (HeapWord*)addr;