mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -294,7 +294,7 @@ address Method::bcp_from(address bcp) const {
|
|||
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;
|
||||
int extra_words = align_up(extra_bytes, BytesPerWord) / BytesPerWord;
|
||||
return align_metadata_size(header_size() + extra_words);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue