< prev index next >

src/share/vm/oops/objArrayOop.hpp

Print this page

        

@@ -60,11 +60,11 @@
     const uint HeapWordsPerOop = heapOopSize/HeapWordSize;
     uint old_res;
     if (HeapWordsPerOop > 0) {
       old_res = length * HeapWordsPerOop;
     } else {
-      old_res = align_size_up((uint)length, OopsPerHeapWord)/OopsPerHeapWord;
+      old_res = align_up((uint)length, OopsPerHeapWord)/OopsPerHeapWord;
     }
     assert(res == old_res, "Inconsistency between old and new.");
 #endif  // ASSERT
     return res;
   }
< prev index next >