< prev index next >

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

Print this page

        

@@ -133,11 +133,11 @@
   virtual void write_ref_field_work(void* field, oop new_val, bool release);
 
  public:
   static size_t compute_size(size_t mem_region_size_in_words) {
     size_t number_of_slots = (mem_region_size_in_words / card_size_in_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 Card Table corresponds to.
   static size_t heap_map_factor() {
     return CardTableModRefBS::card_size;
< prev index next >