equal
deleted
inserted
replaced
619 julong os::physical_memory() { |
619 julong os::physical_memory() { |
620 return win32::physical_memory(); |
620 return win32::physical_memory(); |
621 } |
621 } |
622 |
622 |
623 julong os::allocatable_physical_memory(julong size) { |
623 julong os::allocatable_physical_memory(julong size) { |
|
624 #ifdef _LP64 |
|
625 return size; |
|
626 #else |
|
627 // Limit to 1400m because of the 2gb address space wall |
624 return MIN2(size, (julong)1400*M); |
628 return MIN2(size, (julong)1400*M); |
|
629 #endif |
625 } |
630 } |
626 |
631 |
627 // VC6 lacks DWORD_PTR |
632 // VC6 lacks DWORD_PTR |
628 #if _MSC_VER < 1300 |
633 #if _MSC_VER < 1300 |
629 typedef UINT_PTR DWORD_PTR; |
634 typedef UINT_PTR DWORD_PTR; |