hotspot/src/os/posix/vm/os_posix.cpp
changeset 46622 910fc72c03e8
parent 46620 750c6edff33b
child 46625 edefffab74e2
equal deleted inserted replaced
46621:b93c4446e59e 46622:910fc72c03e8
   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       }