< prev index next >

src/share/vm/gc/shared/blockOffsetTable.hpp

Print this page

        

*** 226,236 **** // offset array slot, so we want that slot always // to be reserved. size_t compute_size(size_t mem_region_words) { size_t number_of_slots = (mem_region_words / BOTConstants::N_words) + 1; ! return ReservedSpace::allocation_align_size_up(number_of_slots); } public: // Initialize the table to cover from "base" to (at least) // "base + init_word_size". In the future, the table may be expanded --- 226,236 ---- // offset array slot, so we want that slot always // to be reserved. size_t compute_size(size_t mem_region_words) { size_t number_of_slots = (mem_region_words / BOTConstants::N_words) + 1; ! return ReservedSpace::allocation_align_up(number_of_slots); } public: // Initialize the table to cover from "base" to (at least) // "base + init_word_size". In the future, the table may be expanded
< prev index next >