1.1 --- a/src/os/linux/vm/os_linux.cpp Thu Mar 28 10:27:28 2013 +0100 1.2 +++ b/src/os/linux/vm/os_linux.cpp Wed Mar 27 19:21:18 2013 +0100 1.3 @@ -194,20 +194,6 @@ 1.4 return Linux::physical_memory(); 1.5 } 1.6 1.7 -julong os::allocatable_physical_memory(julong size) { 1.8 -#ifdef _LP64 1.9 - return size; 1.10 -#else 1.11 - julong result = MIN2(size, (julong)3800*M); 1.12 - if (!is_allocatable(result)) { 1.13 - // See comments under solaris for alignment considerations 1.14 - julong reasonable_size = (julong)2*G - 2 * os::vm_page_size(); 1.15 - result = MIN2(size, reasonable_size); 1.16 - } 1.17 - return result; 1.18 -#endif // _LP64 1.19 -} 1.20 - 1.21 //////////////////////////////////////////////////////////////////////////////// 1.22 // environment support 1.23