mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8178501: Replace usages of align macros with calls to the align inline functions
Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
aad59744c5
commit
9f9bfb8d8e
5 changed files with 11 additions and 11 deletions
|
@ -161,7 +161,7 @@ void AdjoiningGenerations::request_old_gen_expansion(size_t expand_in_bytes) {
|
|||
const size_t alignment = virtual_spaces()->alignment();
|
||||
size_t change_in_bytes = MIN3(young_gen_available,
|
||||
old_gen_available,
|
||||
align_up_(expand_in_bytes, alignment));
|
||||
align_up(expand_in_bytes, alignment));
|
||||
|
||||
if (change_in_bytes == 0) {
|
||||
return;
|
||||
|
@ -203,7 +203,7 @@ bool AdjoiningGenerations::request_young_gen_expansion(size_t expand_in_bytes) {
|
|||
const size_t alignment = virtual_spaces()->alignment();
|
||||
size_t change_in_bytes = MIN3(young_gen_available,
|
||||
old_gen_available,
|
||||
align_up_(expand_in_bytes, alignment));
|
||||
align_up(expand_in_bytes, alignment));
|
||||
|
||||
if (change_in_bytes == 0) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue