--- old/src/share/vm/runtime/os.hpp 2013-03-15 21:54:31.167484914 +0100 +++ new/src/share/vm/runtime/os.hpp 2013-03-15 21:54:31.043484920 +0100 @@ -184,7 +184,7 @@ } static julong available_memory(); static julong physical_memory(); - static julong allocatable_physical_memory(julong size); + static bool has_allocatable_memory_limit(julong* limit); static bool is_server_class_machine(); // number of CPUs