--- a/hotspot/src/os/linux/vm/os_linux.cpp Thu Mar 28 10:27:28 2013 +0100
+++ b/hotspot/src/os/linux/vm/os_linux.cpp Wed Mar 27 19:21:18 2013 +0100
@@ -194,20 +194,6 @@
return Linux::physical_memory();
}
-julong os::allocatable_physical_memory(julong size) {
-#ifdef _LP64
- return size;
-#else
- julong result = MIN2(size, (julong)3800*M);
- if (!is_allocatable(result)) {
- // See comments under solaris for alignment considerations
- julong reasonable_size = (julong)2*G - 2 * os::vm_page_size();
- result = MIN2(size, reasonable_size);
- }
- return result;
-#endif // _LP64
-}
-
////////////////////////////////////////////////////////////////////////////////
// environment support