8277372: Add getters for BOT and card table members

Reviewed-by: tschatzl, sjohanss, ayang
This commit is contained in:
Vishal Chand 2021-12-06 15:28:20 +00:00 committed by Thomas Schatzl
parent 7c6f57fcb1
commit adf39522c1
40 changed files with 205 additions and 176 deletions

View file

@ -152,7 +152,7 @@ size_t PSOldGen::num_iterable_blocks() const {
void PSOldGen::object_iterate_block(ObjectClosure* cl, size_t block_index) {
size_t block_word_size = IterateBlockSize / HeapWordSize;
assert((block_word_size % (ObjectStartArray::block_size)) == 0,
assert((block_word_size % (ObjectStartArray::card_size())) == 0,
"Block size not a multiple of start_array block");
MutableSpace *space = object_space();