hotspot/src/share/vm/oops/objArrayOop.hpp
changeset 46619 a3919f5e8d2b
parent 35862 411842d0c882
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/oops/objArrayOop.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/oops/objArrayOop.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -62,7 +62,7 @@
     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