equal
deleted
inserted
replaced
320 } else { |
320 } else { |
321 // perform the binary search. |
321 // perform the binary search. |
322 julong lower_limit = min_allocation_size; |
322 julong lower_limit = min_allocation_size; |
323 while ((upper_limit - lower_limit) > min_allocation_size) { |
323 while ((upper_limit - lower_limit) > min_allocation_size) { |
324 julong temp_limit = ((upper_limit - lower_limit) / 2) + lower_limit; |
324 julong temp_limit = ((upper_limit - lower_limit) / 2) + lower_limit; |
325 temp_limit = align_down_(temp_limit, min_allocation_size); |
325 temp_limit = align_down(temp_limit, min_allocation_size); |
326 if (is_allocatable(temp_limit)) { |
326 if (is_allocatable(temp_limit)) { |
327 lower_limit = temp_limit; |
327 lower_limit = temp_limit; |
328 } else { |
328 } else { |
329 upper_limit = temp_limit; |
329 upper_limit = temp_limit; |
330 } |
330 } |