< prev index next >

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

Print this page

        

@@ -67,19 +67,19 @@
   size_t old_size = _vs.committed_size();
   size_t delta;
   char* high = _vs.high();
   _end = _reserved.start() + new_word_size;
   if (new_size > old_size) {
-    delta = ReservedSpace::page_align_size_up(new_size - old_size);
+    delta = ReservedSpace::page_align_up(new_size - old_size);
     assert(delta > 0, "just checking");
     if (!_vs.expand_by(delta)) {
       // Do better than this for Merlin
       vm_exit_out_of_memory(delta, OOM_MMAP_ERROR, "offset table expansion");
     }
     assert(_vs.high() == high + delta, "invalid expansion");
   } else {
-    delta = ReservedSpace::page_align_size_down(old_size - new_size);
+    delta = ReservedSpace::page_align_down(old_size - new_size);
     if (delta == 0) return;
     _vs.shrink_by(delta);
     assert(_vs.high() == high - delta, "invalid expansion");
   }
 }
< prev index next >