8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
diff --git a/hotspot/src/share/vm/memory/allocation.inline.hpp b/hotspot/src/share/vm/memory/allocation.inline.hpp
index f103549..cb919c8 100644
--- a/hotspot/src/share/vm/memory/allocation.inline.hpp
+++ b/hotspot/src/share/vm/memory/allocation.inline.hpp
@@ -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>