< prev index next >

src/share/vm/gc/g1/g1BlockOffsetTable.hpp

Print this page

        

@@ -82,11 +82,11 @@
 
   // Return the number of slots needed for an offset array
   // that covers mem_region_words words.
   static size_t compute_size(size_t mem_region_words) {
     size_t number_of_slots = (mem_region_words / BOTConstants::N_words);
-    return ReservedSpace::allocation_align_size_up(number_of_slots);
+    return ReservedSpace::allocation_align_up(number_of_slots);
   }
 
   // Returns how many bytes of the heap a single byte of the BOT corresponds to.
   static size_t heap_map_factor() {
     return BOTConstants::N_bytes;
< prev index next >