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

@ -322,7 +322,7 @@ bool os::has_allocatable_memory_limit(julong* limit) {
julong lower_limit = min_allocation_size;
while ((upper_limit - lower_limit) > min_allocation_size) {
julong temp_limit = ((upper_limit - lower_limit) / 2) + lower_limit;
temp_limit = align_down_(temp_limit, min_allocation_size);
temp_limit = align_down(temp_limit, min_allocation_size);
if (is_allocatable(temp_limit)) {
lower_limit = temp_limit;
} else {