hotspot/src/share/vm/runtime/arguments.cpp
changeset 24666 a7a8e70f1bf7
parent 24489 de383df95d5c
child 24946 24b68ccf3fc4
child 24941 4ebbe176a7b1
child 25057 f38210f84f8c
equal deleted inserted replaced
24615:74eb0778e4f2 24666:a7a8e70f1bf7
  1447     return false;
  1447     return false;
  1448   }
  1448   }
  1449   return true;
  1449   return true;
  1450 }
  1450 }
  1451 
  1451 
  1452 uintx Arguments::max_heap_for_compressed_oops() {
  1452 size_t Arguments::max_heap_for_compressed_oops() {
  1453   // Avoid sign flip.
  1453   // Avoid sign flip.
  1454   assert(OopEncodingHeapMax > (uint64_t)os::vm_page_size(), "Unusual page size");
  1454   assert(OopEncodingHeapMax > (uint64_t)os::vm_page_size(), "Unusual page size");
  1455   // We need to fit both the NULL page and the heap into the memory budget, while
  1455   // We need to fit both the NULL page and the heap into the memory budget, while
  1456   // keeping alignment constraints of the heap. To guarantee the latter, as the
  1456   // keeping alignment constraints of the heap. To guarantee the latter, as the
  1457   // NULL page is located before the heap, we pad the NULL page to the conservative
  1457   // NULL page is located before the heap, we pad the NULL page to the conservative