diff -r 85b6ca9458ed src/share/vm/oops/methodCounters.hpp --- a/src/share/vm/oops/methodCounters.hpp Wed Mar 29 15:44:34 2017 +0000 +++ b/src/share/vm/oops/methodCounters.hpp Wed Apr 05 15:42:18 2017 +0100 @@ -116,7 +116,7 @@ AOT_ONLY(Method* method() const { return _method; }) - static int size() { return sizeof(MethodCounters) / wordSize; } + static int size() { return align_size_up(sizeof(MethodCounters), wordSize) / wordSize; } bool is_klass() const { return false; }