mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
This commit is contained in:
parent
0fcf645cff
commit
dbd3b5a79e
115 changed files with 454 additions and 462 deletions
|
@ -937,7 +937,7 @@ int MethodData::compute_allocation_size_in_bytes(const methodHandle& method) {
|
|||
// 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;
|
||||
int word_size = align_up(byte_size, BytesPerWord) / BytesPerWord;
|
||||
return align_metadata_size(word_size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue