changeset 46618 | d503911aa948 |
parent 46388 | d7a164ad6b7f |
child 46619 | a3919f5e8d2b |
--- a/hotspot/src/share/vm/oops/method.hpp Wed Apr 12 13:05:59 2017 +0200 +++ b/hotspot/src/share/vm/oops/method.hpp Wed Apr 12 17:53:18 2017 +0200 @@ -667,7 +667,7 @@ // sizing static int header_size() { - return align_size_up(sizeof(Method), wordSize) / wordSize; + return align_size_up((int)sizeof(Method), wordSize) / wordSize; } static int size(bool is_native); int size() const { return method_size(); }