< prev index next >

src/share/vm/oops/methodData.cpp

Print this page

        

*** 935,945 **** // Compute the size of the MethodData* necessary to store // profiling information about a given method. Size is in words int MethodData::compute_allocation_size_in_words(const methodHandle& method) { int byte_size = compute_allocation_size_in_bytes(method); ! int word_size = align_size_up(byte_size, BytesPerWord) / BytesPerWord; return align_metadata_size(word_size); } // Initialize an individual data segment. Returns the size of // the segment in bytes. --- 935,945 ---- // Compute the size of the MethodData* necessary to store // profiling information about a given method. Size is in words int MethodData::compute_allocation_size_in_words(const methodHandle& method) { int byte_size = compute_allocation_size_in_bytes(method); ! int word_size = align_up(byte_size, BytesPerWord) / BytesPerWord; return align_metadata_size(word_size); } // Initialize an individual data segment. Returns the size of // the segment in bytes.
< prev index next >