hotspot/src/share/vm/prims/whitebox.cpp
changeset 46620 750c6edff33b
parent 46619 a3919f5e8d2b
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/prims/whitebox.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/share/vm/prims/whitebox.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -1340,7 +1340,7 @@
   BufferBlob* blob;
   int full_size = CodeBlob::align_code_offset(sizeof(BufferBlob));
   if (full_size < size) {
-    full_size += round_to(size - full_size, oopSize);
+    full_size += align_up(size - full_size, oopSize);
   }
   {
     MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);