mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +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
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue