equal
deleted
inserted
replaced
665 bool has_aot_code() const { return aot_code() != NULL; } |
665 bool has_aot_code() const { return aot_code() != NULL; } |
666 #endif |
666 #endif |
667 |
667 |
668 // sizing |
668 // sizing |
669 static int header_size() { |
669 static int header_size() { |
670 return align_size_up((int)sizeof(Method), wordSize) / wordSize; |
670 return align_up((int)sizeof(Method), wordSize) / wordSize; |
671 } |
671 } |
672 static int size(bool is_native); |
672 static int size(bool is_native); |
673 int size() const { return method_size(); } |
673 int size() const { return method_size(); } |
674 #if INCLUDE_SERVICES |
674 #if INCLUDE_SERVICES |
675 void collect_statistics(KlassSizeStats *sz) const; |
675 void collect_statistics(KlassSizeStats *sz) const; |