hotspot/src/share/vm/runtime/perfMemory.cpp
changeset 46619 a3919f5e8d2b
parent 46560 388aa8d67c80
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/runtime/perfMemory.cpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/runtime/perfMemory.cpp	Tue Jul 04 15:58:10 2017 +0200
@@ -91,8 +91,8 @@
     // initialization already performed
     return;
 
-  size_t capacity = align_size_up(PerfDataMemorySize,
-                                  os::vm_allocation_granularity());
+  size_t capacity = align_up(PerfDataMemorySize,
+                             os::vm_allocation_granularity());
 
   log_debug(perf, memops)("PerfDataMemorySize = " SIZE_FORMAT ","
                           " os::vm_allocation_granularity = %d,"