hotspot/src/share/vm/oops/method.cpp
changeset 46619 a3919f5e8d2b
parent 46589 f1c04490ded1
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/oops/method.cpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/oops/method.cpp	Tue Jul 04 15:58:10 2017 +0200
@@ -294,7 +294,7 @@
 int Method::size(bool is_native) {
   // If native, then include pointers for native_function and signature_handler
   int extra_bytes = (is_native) ? 2*sizeof(address*) : 0;
-  int extra_words = align_size_up(extra_bytes, BytesPerWord) / BytesPerWord;
+  int extra_words = align_up(extra_bytes, BytesPerWord) / BytesPerWord;
   return align_metadata_size(header_size() + extra_words);
 }