src/share/vm/runtime/os.hpp

Print this page

        

@@ -182,11 +182,11 @@
     assert(_processor_count > 0, "invalid processor count");
     return _processor_count > 1;
   }
   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
   static int processor_count() {
     return _processor_count;