hotspot/src/share/vm/memory/allocation.inline.hpp
changeset 46619 a3919f5e8d2b
parent 41176 ff9f64534cff
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/memory/allocation.inline.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/memory/allocation.inline.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -149,7 +149,7 @@
 size_t MmapArrayAllocator<E, F>::size_for(size_t length) {
   size_t size = length * sizeof(E);
   int alignment = os::vm_allocation_granularity();
-  return align_size_up(size, alignment);
+  return align_up(size, alignment);
 }
 
 template <class E, MEMFLAGS F>