equal
deleted
inserted
replaced
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 |