< prev index next >

src/share/vm/oops/method.cpp

Print this page

        

*** 293,303 **** int Method::size(bool is_native) { // If native, then include pointers for native_function and signature_handler int extra_bytes = (is_native) ? 2*sizeof(address*) : 0; int extra_words = align_size_up(extra_bytes, BytesPerWord) / BytesPerWord; ! return align_object_size(header_size() + extra_words); } Symbol* Method::klass_name() const { return method_holder()->name(); --- 293,303 ---- int Method::size(bool is_native) { // If native, then include pointers for native_function and signature_handler int extra_bytes = (is_native) ? 2*sizeof(address*) : 0; int extra_words = align_size_up(extra_bytes, BytesPerWord) / BytesPerWord; ! return align_metadata_size(header_size() + extra_words); } Symbol* Method::klass_name() const { return method_holder()->name();
< prev index next >