hotspot/src/share/vm/oops/method.cpp
changeset 46619 a3919f5e8d2b
parent 46589 f1c04490ded1
child 46625 edefffab74e2
equal deleted inserted replaced
46618:d503911aa948 46619:a3919f5e8d2b
   292 }
   292 }
   293 
   293 
   294 int Method::size(bool is_native) {
   294 int Method::size(bool is_native) {
   295   // If native, then include pointers for native_function and signature_handler
   295   // If native, then include pointers for native_function and signature_handler
   296   int extra_bytes = (is_native) ? 2*sizeof(address*) : 0;
   296   int extra_bytes = (is_native) ? 2*sizeof(address*) : 0;
   297   int extra_words = align_size_up(extra_bytes, BytesPerWord) / BytesPerWord;
   297   int extra_words = align_up(extra_bytes, BytesPerWord) / BytesPerWord;
   298   return align_metadata_size(header_size() + extra_words);
   298   return align_metadata_size(header_size() + extra_words);
   299 }
   299 }
   300 
   300 
   301 
   301 
   302 Symbol* Method::klass_name() const {
   302 Symbol* Method::klass_name() const {