hotspot/src/share/vm/runtime/arguments.hpp
changeset 16605 ba13efd453bc
parent 15957 58302a2ffb9a
child 18090 d73d91e93e42
--- a/hotspot/src/share/vm/runtime/arguments.hpp	Thu Mar 28 10:27:28 2013 +0100
+++ b/hotspot/src/share/vm/runtime/arguments.hpp	Wed Mar 27 19:21:18 2013 +0100
@@ -312,6 +312,9 @@
   static void set_use_compressed_oops();
   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