hotspot/src/share/vm/oops/method.hpp
changeset 46619 a3919f5e8d2b
parent 46618 d503911aa948
child 46625 edefffab74e2
equal deleted inserted replaced
46618:d503911aa948 46619:a3919f5e8d2b
   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;