--- old/src/share/vm/runtime/arguments.hpp 2013-03-15 21:54:29.787484980 +0100 +++ new/src/share/vm/runtime/arguments.hpp 2013-03-15 21:54:29.655484986 +0100 @@ -311,6 +311,9 @@ // GC ergonomics static void set_ergonomics_flags(); static void set_shared_spaces_flags(); + // limits the given memory size by the maximum amount of memory this process is + // currently allowed to allocate or reserve. + static julong limit_by_allocatable_memory(julong size); // Setup heap size static void set_heap_size(); // Based on automatic selection criteria, should the