src/share/vm/runtime/arguments.cpp

Print this page

        

*** 1435,1445 **** return false; } return true; } ! uintx Arguments::max_heap_for_compressed_oops() { // Avoid sign flip. assert(OopEncodingHeapMax > (uint64_t)os::vm_page_size(), "Unusual page size"); // We need to fit both the NULL page and the heap into the memory budget, while // keeping alignment constraints of the heap. To guarantee the latter, as the // NULL page is located before the heap, we pad the NULL page to the conservative --- 1435,1445 ---- return false; } return true; } ! size_t Arguments::max_heap_for_compressed_oops() { // Avoid sign flip. assert(OopEncodingHeapMax > (uint64_t)os::vm_page_size(), "Unusual page size"); // We need to fit both the NULL page and the heap into the memory budget, while // keeping alignment constraints of the heap. To guarantee the latter, as the // NULL page is located before the heap, we pad the NULL page to the conservative