@@ -665,11 +665,11 @@ bool has_aot_code() const { return aot_code() != NULL; } #endif // sizing static int header_size() { - return align_size_up((int)sizeof(Method), wordSize) / wordSize; + return align_up((int)sizeof(Method), wordSize) / wordSize; } static int size(bool is_native); int size() const { return method_size(); } #if INCLUDE_SERVICES void collect_statistics(KlassSizeStats *sz) const;