hotspot/src/share/vm/memory/blockOffsetTable.cpp
changeset 22551 9bf46d16dcc6
parent 22234 da823d78ad65
child 24424 2658d7834c6e
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
   588     return ub;
   588     return ub;
   589   }
   589   }
   590 
   590 
   591   // Otherwise, find the block start using the table, but taking
   591   // Otherwise, find the block start using the table, but taking
   592   // care (cf block_start_unsafe() above) not to parse any objects/blocks
   592   // care (cf block_start_unsafe() above) not to parse any objects/blocks
   593   // on the cards themsleves.
   593   // on the cards themselves.
   594   size_t index = _array->index_for(addr);
   594   size_t index = _array->index_for(addr);
   595   assert(_array->address_for_index(index) == addr,
   595   assert(_array->address_for_index(index) == addr,
   596          "arg should be start of card");
   596          "arg should be start of card");
   597 
   597 
   598   HeapWord* q = (HeapWord*)addr;
   598   HeapWord* q = (HeapWord*)addr;