hotspot/src/share/vm/oops/method.cpp
changeset 35898 ddc274f0052f
parent 35499 b79827ea1b9f
child 35913 928548a43408
--- a/hotspot/src/share/vm/oops/method.cpp	Fri Jan 29 20:57:09 2016 -0500
+++ b/hotspot/src/share/vm/oops/method.cpp	Sat Jan 30 11:02:29 2016 -0500
@@ -295,7 +295,7 @@
   // 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;
-  return align_object_size(header_size() + extra_words);
+  return align_metadata_size(header_size() + extra_words);
 }