hotspot/src/share/vm/prims/whitebox.cpp
changeset 46619 a3919f5e8d2b
parent 46587 6c97f34cb194
child 46620 750c6edff33b
--- a/hotspot/src/share/vm/prims/whitebox.cpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/prims/whitebox.cpp	Tue Jul 04 15:58:10 2017 +0200
@@ -1543,7 +1543,7 @@
   }
 
   size_t new_cap_until_GC = 0;
-  size_t aligned_inc = align_size_down((size_t) inc, Metaspace::commit_alignment());
+  size_t aligned_inc = align_down((size_t) inc, Metaspace::commit_alignment());
   bool success = MetaspaceGC::inc_capacity_until_GC(aligned_inc, &new_cap_until_GC);
   if (!success) {
     THROW_MSG_0(vmSymbols::java_lang_IllegalStateException(),