8178501: Replace usages of align macros with calls to the align inline functions

Reviewed-by: mgerdin, tschatzl
This commit is contained in:
Stefan Karlsson 2017-04-24 09:14:09 +02:00
parent aad59744c5
commit 9f9bfb8d8e
5 changed files with 11 additions and 11 deletions

View file

@ -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;