hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
changeset 193 171c404abf72
parent 1 489c9b5090e2
child 225 6258c2e3adfd
--- a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Wed Dec 05 09:03:00 2007 -0800
+++ b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Wed Dec 05 09:04:00 2007 -0800
@@ -157,23 +157,8 @@
   }
 }
 
-
 // Utility functions
 
-julong os::allocatable_physical_memory(julong size) {
-#ifdef AMD64
-  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 // AMD64
-}
-
 // From IA32 System Programming Guide
 enum {
   trap_page_fault = 0xE