diff src/share/vm/runtime/arguments.hpp @ 20388:7430aa5718a5

Merge
author amurillo
date Wed, 03 Sep 2014 08:52:08 -0700
parents 6e0cb14ce59b f933a15469d4
children 8ec8971f511a
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.hpp	Thu Aug 28 17:05:41 2014 +0200
+++ b/src/share/vm/runtime/arguments.hpp	Wed Sep 03 08:52:08 2014 -0700
@@ -284,7 +284,11 @@
   // Value of the conservative maximum heap alignment needed
   static size_t  _conservative_max_heap_alignment;
 
-  static uintx  _min_heap_size;
+  static uintx _min_heap_size;
+
+  // Used to store original flag values
+  static uintx _min_heap_free_ratio;
+  static uintx _max_heap_free_ratio;
 
   // -Xrun arguments
   static AgentLibraryList _libraryList;
@@ -514,6 +518,10 @@
   static uintx min_heap_size()              { return _min_heap_size; }
   static void  set_min_heap_size(uintx v)   { _min_heap_size = v;  }
 
+  // Returns the original values of -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio
+  static uintx min_heap_free_ratio()        { return _min_heap_free_ratio; }
+  static uintx max_heap_free_ratio()        { return _max_heap_free_ratio; }
+
   // -Xrun
   static AgentLibrary* libraries()          { return _libraryList.first(); }
   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }